Archive for the ‘Windows Service’ Category

When you create Windows Services you need to add an Installer class to the project.
1) Right- click the service and choose to view in designer mode.

service class

2) Right-click the surface and select “Add Installer”

3) You get a new file with two components on the design surface: ServiceProcessInstaller and ServiceInstaller

4) Configure the two components with account info and other service details