0

I'm using Visual Studio 2012, and InstallShield LE.

Thanks to the answer on this post, I am able to successfully install a Windows Service to a computer using the InstallShield LE installer.

I'm wondering how I can set the Startup Type for the Window's Service to "Automatic" within InstallShield? Right now it's defaulting to "Manual".

enter image description here

Community
  • 1
  • 1
contactmatt
  • 18,116
  • 40
  • 128
  • 186

2 Answers2

1

I could not find a way to make InstallShield install a service with a certain Startup Type.

In regard to Window's Services built through Visual Studio, under the ProjectInstaller.cs auto-generated class, set the serviceInstaller class's StartType property to be "Automatic".

contactmatt
  • 18,116
  • 40
  • 128
  • 186
1

In InstallShield, in the Installation Designer, under Organization -> Setup Design, expand your service, then go to Advanced Settings. Under Services select your service. There is a property named StartType which you can set to Automatic. This works for InstallShield 2011 and 2015 (those are the two versions we have used at my company).

Ryan
  • 120
  • 2
  • 11