I have a Service project within .NET using C#. I have then used InstallShield 2012 within Visual Studio to create a MSI that should install my Service, however when I run the MSI, theService never shows in the Services window.
I have created the Service by creating a Component, Advanced Settings -> Created new Service. Then have added the whole /bin/debug of my C# project (since I wasn't sure only .exe would be enough)
However, I am not sure how to tell the InstallShield to go ahead and do the actual install of my service. I don't want users to do it manually via command line by InstallUtil tool.
Is it possible to tell InstallShield to do the install of the Service?
For the Express or Limited edition of InstallShield: Add a new Express project. Navigate to the Files view. Select MyNewService under the Visual Studio Solution node in the Source computer’s folders pane.
Back then VS2013 had a free version of Installshield that one could use to ease deployment. Recently I updated the project to use a newer .net version so that someone installing it didn't have to find the older version of .net. I realized that since I had reinstalled VS2013 on a newly imaged computer that now I am unable to add installshield.
Using InstallShield to Create an Installation that Installs Windows Services 1 Open your Windows service application project—for example, MyNewService —in Visual Studio. 2 For the Express or Limited edition of InstallShield: More ...
If you don't find that application, you can download the bootstrapper by going to the Visual Studio downloads page and clicking Download for your edition of Visual Studio. Then, run the executable to reset your installation metadata. Try to install or update Visual Studio again. If the Installer continues to fail, go to the next step.
You have to go to the properties of the primary output of your service, then the COM & .NET tab, and place a check in the "Installer Class" check box.
For more info, see my answer here
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With