PDA

View Full Version : Services "Start on Install" doesn't work



ITFoundations
09-24-2013, 05:01 AM
Hi

We have a setup project installing a Windows .NET 4 service and have the option of "Start on Install" set to Yes but it does not start the service upon installation.

We cannot find any other details on getting this to work, or find any errors in the msi log.

Iain

Cygnusx1
09-24-2013, 07:43 AM
Is this service startable?, Is all the files associated with the Service installed?, Is the ServiceControl Table properly set up?, Can you manually start the service after the install?

ITFoundations
09-25-2013, 03:57 AM
Is this service startable?, Is all the files associated with the Service installed?, Is the ServiceControl Table properly set up?, Can you manually start the service after the install?

The service is startable and can be started manually after installation. All the files are copied across during install. In the Services section under "(3) Configure the Target System" Start on Install is set to Yes.

I am not sure about the ServiceControl Table, where would I find this?

rguggisberg
09-25-2013, 06:07 AM
Hi

We have a setup project installing a Windows .NET 4 service and have the option of "Start on Install" set to Yes but it does not start the service upon installation.

We cannot find any other details on getting this to work, or find any errors in the msi log.

Iain

Are you installing .NET 4 as part of this install? If so, have you suppressed a reboot that is required for .NET 4?

ITFoundations
09-25-2013, 06:18 AM
Are you installing .NET 4 as part of this install? If so, have you suppressed a reboot that is required for .NET 4?

Hi.

No we are not installing .NET 4 as part of this as the target machines already have .NET 4.