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.