Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

InstallShield Visual Studio not installing Service

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?

like image 272
user1683517 Avatar asked Sep 30 '12 08:09

user1683517


People also ask

How do I install InstallShield on a Visual Studio project?

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.

Is there a free version of InstallShield for VS2013?

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.

How to create an installation that installs Windows services?

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 ...

What should I do if the Visual Studio installer fails?

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.


1 Answers

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

like image 156
Mongo Avatar answered Oct 05 '22 07:10

Mongo