This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Service not starting when silent install
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 13, 2008
10:11 AM
Service not starting when silent install
I'm using a basic msi project in Installshield 2008 Premier.
I install with this project a service via the buildin Install NT Services and Control NT Services functionality.
When I run the installer in full ui mode, everythings works fine. The service is installed and running correctly at the end of the installation.
When I run the install silently(setup.exe /v" /qn") however, the service is installed but the status is "starting"(and not started as I expected). :eek:
Rebooting the system doesn't solve the problem. Instead, I get a service provider error when the logon screen appears. And this is introduced by the fact that the service is not started correctly.
I also have no possibility to stop or start the service from the service control manager.
Can someone explain me, or give a hint, what influence a silent install has on the installation of a service?
Thanks for any information
Christoph.
I install with this project a service via the buildin Install NT Services and Control NT Services functionality.
When I run the installer in full ui mode, everythings works fine. The service is installed and running correctly at the end of the installation.
When I run the install silently(setup.exe /v" /qn") however, the service is installed but the status is "starting"(and not started as I expected). :eek:
Rebooting the system doesn't solve the problem. Instead, I get a service provider error when the logon screen appears. And this is introduced by the fact that the service is not started correctly.
I also have no possibility to stop or start the service from the service control manager.
Can someone explain me, or give a hint, what influence a silent install has on the installation of a service?
Thanks for any information
Christoph.
(3) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 20, 2008
07:44 AM
Other question:
did anyone ever managed to install a NTService(using the buildin service install functionality of InstallShield) silently with Installshield 2008?
If so, it would mean that our service is maybe not completely correct and we can look further...
Thx!
did anyone ever managed to install a NTService(using the buildin service install functionality of InstallShield) silently with Installshield 2008?
If so, it would mean that our service is maybe not completely correct and we can look further...
Thx!
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Aug 20, 2008
03:09 PM
Christoph wrote:
Other question:
did anyone ever managed to install a NTService(using the buildin service install functionality of InstallShield) silently with Installshield 2008?
If so, it would mean that our service is maybe not completely correct and we can look further...
Thx!
Most likely there is any issue with the NT service that you are trying to install. I do install services silently as well as in normal mode.
if your project is MSI Installscript then you could use something like ServiceStartService(SERVICENAME,"") to start your service at the end of installation OnFirstUIAfter.
I think you could use ServiceStartService in MSI only projects as well.
HTH
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 25, 2008
03:55 AM
All,
forget this question.
It was a mistake from my side...
Some registry value that was not propulated when running in silent install... resulting in a non starting NTService. 😮
forget this question.
It was a mistake from my side...
Some registry value that was not propulated when running in silent install... resulting in a non starting NTService. 😮