How to install a service on Windows 7 without Visual Studio?

advertisements

Install a windows service: there is a util with Visual Studio: InstallUtil.exe. If I have a service MyService.exe and want to install it on a windows 7 without Visual Studio on it, how can I install it?


You can try NSSM (Non-Sucking Service Manager) for the times the "sc" doesn't work quite as expected. http://nssm.cc

I had an service I built in Go not too long ago that I could not get to run under "sc", nssm worked perfectly.