I've created a Setup Project to create an installer for my Windows service I am writing. The Windows service has a ProjectInstaller and the ProjectIsntaller has a ServiceInstaller and ServiceProcessInstaller. When I compile and install the MSI created for the service, the files copy to the correct directory but the actually service doesn't appear to be registered in the Services panel. Any idea what is going on?
+1
A:
do you add custom actions in setup project?
To add a custom action to the setup project
In Solution Explorer, right-click the setup project, point to View, and then click Custom Actions.
The Custom Actions editor appears.
In the Custom Actions editor, right-click the Custom Actions node and choose Add Custom Action.
The Select Item in Project dialog box appears.
Double-click the Application Folder in the list box to open it, select Primary Output from MyNewService (Active), and click OK.
The primary output is added to all four nodes of the custom actions — Install, Commit, Rollback, and Uninstall.
- In Solution Explorer, right-click the MyServiceSetup project and click Build.
see here
ArsenMkrt
2009-08-20 15:48:01
No i haven't added any.
Achilles
2009-08-20 15:50:06
I had completely forgotten about the custom actions! Thanks for reminding me!
Achilles
2009-08-20 15:51:52