Cannot start service
I have an issue with service control on one of my packages. Hope you can help me with it. I am using installshield and there is a service called 'Gateway' in the msi that I have created. When installing the msi via command line msiexec /i, the install succeeds and at the end it gives a prompt for the reboot. After a reboot, the service starts and the app functions properly. However, when installaing via group policy the msi tries to start the service during installation and it fails with error 1920. I have also noticed this error when I install via command line with REBOOT=ReallySuppress. Based on the install logs, it seems as if the msi doesn't try to start the service in the former case (where reboot is not suppressed), while it does in the latter and fails. How can I stop the msi from trying to start the service during installation? Here are my direct editor entries
ServiceInstall table:
ServiceInstall Name DisplayName ServiceType StartType Error
NewServiceInstall1 Gateway Gateway 16 2 1
So, it is set to Automatic and the startname password is empty (LocalSystem).
ServiceControl Table:
ServiceControl Name Event Wait
Gateway Gateway 163 0
Thanks in advance.
ServiceInstall table:
ServiceInstall Name DisplayName ServiceType StartType Error
NewServiceInstall1 Gateway Gateway 16 2 1
So, it is set to Automatic and the startname password is empty (LocalSystem).
ServiceControl Table:
ServiceControl Name Event Wait
Gateway Gateway 163 0
Thanks in advance.
0 Comments
[ + ] Show comments
Answers (8)
Please log in to answer
Posted by:
turbokitty
15 years ago
Posted by:
rkm
15 years ago
Posted by:
turbokitty
15 years ago
Posted by:
MSIPackager
15 years ago
Posted by:
rkm
15 years ago
turbokitty :-) and Rob, thanks for the suggestions. I have tried in that way and this time, when installed via policy, the install succeeds, which was good. But, when I restarted the machine, the service did not start automatically. When I try to start myself, it fails saying access denied.
The same package when installed via command line or as a simple double click of the msi, the service starts properly after reboot. What could be the difference when applying group policies??
The same package when installed via command line or as a simple double click of the msi, the service starts properly after reboot. What could be the difference when applying group policies??
Posted by:
turbokitty
15 years ago
Posted by:
rkm
15 years ago
Posted by:
MSIPackager
15 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.