Warning: Cannot modify header information - headers already sent by (output started at /var/www/lalieno.it/index.php:48) in /var/www/lalieno.it/inc/cookie.php on line 3
a cadenza discontinua
Come se fossi
BLOG

How to install Windows services .net

InstallUtil is a small tool from Microsoft that allows the rapid installation of Windows services developed in .NET.

It can run by going to the Windows Start menu or choose the Start screen Visual Studio, Visual Studio Tools, Command Prompt to developers. Or you can take the exe and run it from the command line without the Visual Studio's tools. (This is assuming you want to install at a customer for example).

The commands are two:

Installation

installutil yourservice.exe

Uninstalling

installutil / u yourservice.exe

When uninstalling it can happen that the service should continue to be among the list of services. In this case you need to perform, always in command line, the command:

sc delete servicename

The service name you can check the properties of the service (right click on the service -> properties).

Leave a comment if it is not clear.


di GuiZ
25/08/2015

Commenta

We'll never share your email with anyone else.