visual studio 2008 - Creating an MSI installer for a Windows Service -
I have a Windows service project in Visual Studio 2008. I have also added the setup and deployment project. Unfortunately, when I install it, the service does not appear in the MMC snapin service.
I have already added ProjectInstaller to the service project, and I have already followed the instructions.
What do you want (and there is nothing about this in the article, which I can see ) Is a project installer class. If you open your service in Design view, you can right-click and select "Add installer". It adds your project to the class, by default (I think), ProjectInstaller.cs. In Design view, you will see two items with default names, Service Process Installer 1 and Service Instalar 1. After that, in your MSI project, click on the Custom Action Editor icon and add to "Primary Output from YourServiceProject" for all tasks, install, commit, rollback, and uninstall
This is one.
Good luck.
Comments
Post a Comment