What is the best way to install a Windows C # service that does not require running installutil manually?

I would like to pack a C # Windows service project so that it can be easily installed by anyone without using the installutil command-line utility? Is there an easy way to set up a Visual Studio installation project so that it is similar to how winforms applications are installed?

+3
source share
3 answers

I like to create an installation project to get a nice and clean MSI installer, this should help you:

http://support.microsoft.com/kb/816169

And codeproject also has a good example: http://www.codeproject.com/KB/dotnet/simplewindowsservice.aspx

+2

.

, MSI - .

, , , . , .

+2

http://support.microsoft.com/kb/816169 .

Service Installer . , . , . .

+1

Source: https://habr.com/ru/post/1697891/


All Articles