Thursday, 5 March 2009

Create Windows Service application in C#

- Create 'Windows Application' Project - Add 'Windows Service' item to your project - Add 'Installer Class' item to your project - Set the service name/description using the property editor or inside *.designer.cs classes Installing Windows Service

c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe Program.exe

Uninstalling Windows Service

c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\InstallUtil.exe \uninstall Program.exe

No comments:

Post a Comment