InstallShield Visual Studio not installing Service
Asked Answered
D

1

6

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?

Ditch answered 30/9, 2012 at 8:30 Comment(1)
Have you added a ServiceProcessInstaller component to your service project?Correspond
C
5

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

Concurrent answered 31/10, 2012 at 16:38 Comment(1)
Thanks. I've been seeing mentions of this property box, but they all reference it during the actual installer setup phase. I couldn't find it after the fact.Loraleeloralie

© 2022 - 2024 — McMap. All rights reserved.