olidev
olidev

Reputation: 20674

Install windows service without using InstallUtil or Setup Installation

I would like to send a windows service program to our client that does not have InstallUtil (no rights to distribute) and this one will be multiple installations in the same machine.

I found something at this point: Inno Setup for Windows service?

But I am not clear how to:

Thanks in advance.

Upvotes: 0

Views: 4274

Answers (2)

Matt Davis
Matt Davis

Reputation: 46052

I have provided a step-by-step solution for how to add command-line install/uninstall to your Windows service using C#. This solution lets you avoid requiring the use of InstallUtil.

How to make a .NET Windows Service start right after the installation?

Upvotes: 2

cdonner
cdonner

Reputation: 37708

You need to add an installer to your service setup project, and a custom action. This article will get you started.

Upvotes: 0

Related Questions