Windows services
References
Steps
1. Create a service
New Project - Installed - Templates - Visual C# - Windows - Classic Desktop - Windows service
2. Add Installers to the service
Go to the designer of the service - Right click: Add Installer
https://msdn.microsoft.com/en-us/library/zt39148a%28v=vs.110%29.aspx#BK_AddInstallers
3. Build the service
4. Install the service
In the Developer Command Prompt:
installutil.exe MyNewService.exe (C:\Windows\Microsoft.NET\Framework64\v4.0.30319\InstallUtil.exe name_of_service.exe)
5. Start and run the service
In the Developer Command Prompt:
services.msc
In the Services window, right click on your service and select Start…
Debugging
https://msdn.microsoft.com/en-us/library/7a50syb3%28v=vs.110%29.aspx
page revision: 4, last edited: 14 Feb 2019 09:43