Created service won't start when package is user assigned
I am trying to install a package I created capturing a vendor setup. The package contains a service creation and a service start for that service.
When I install the package manually (being local admin) the service is properly created and started. Also when assigned in AD through a Computer based GPO the service is properly created and started.
However when assigned in AD through a User based GPO the service is (properly?) created but will not start. It does not matter whether the user is admin or not, either way the service won't start. If I try starting it using the MMC Services snap-in I get an error 1053: Service control request did not respond in a timely fashion. No enrty in the system event log is made for this failed service starting request.
Does anyone know what might cause this behaviour?
Thanx in advance...
Marcel Dingenouts
When I install the package manually (being local admin) the service is properly created and started. Also when assigned in AD through a Computer based GPO the service is properly created and started.
However when assigned in AD through a User based GPO the service is (properly?) created but will not start. It does not matter whether the user is admin or not, either way the service won't start. If I try starting it using the MMC Services snap-in I get an error 1053: Service control request did not respond in a timely fashion. No enrty in the system event log is made for this failed service starting request.
Does anyone know what might cause this behaviour?
Thanx in advance...
Marcel Dingenouts
0 Comments
[ + ] Show comments
Answers (6)
Please log in to answer
Posted by:
kkaminsk
19 years ago
Well it probably is not user rights so it might have something to do with the feature structure of the MSI. What I do is if I made my own setup capture is take all components and put them in the main feature. Then I delete all the empty features. This method might not work for some vendor MSIs but it at least ensures that the whole product is installed when a user clicks one of the icons related to the package. This can be useful when dealing with laptop users as they might need a portion of the application to install when they are not able to connect to the corporate network.
Posted by:
Sweede
19 years ago
I don't think it is possible at all to snapshot a service, it needs a call to a Windows API Create Service
but there is many types of services.
Just like You can't snapshot a PnP device driver.
What about the vendor setup it might contain another option.
MSI files are some times wrapped into one setup.exe by vendor.
have you used filemon to see what or Setup /? Setup /A
Sweede ;-)
but there is many types of services.
Just like You can't snapshot a PnP device driver.
What about the vendor setup it might contain another option.
MSI files are some times wrapped into one setup.exe by vendor.
have you used filemon to see what or Setup /? Setup /A
Sweede ;-)
Posted by:
kkaminsk
19 years ago
Posted by:
MDingenouts
19 years ago
I already did move all components to the main feature (allways do). And unfortunately the application is not an MSI wrapped in a setup: no msiexec proces is started during installation and in the Add/Remove Programs panel the application is shown with a single Change/Remove button.
Thanks for the responce, if you have any further thoughts let me know.
Thanks for the responce, if you have any further thoughts let me know.
Posted by:
kkaminsk
19 years ago
Well I am not sure what the root problem is but does the service start after a reboot? You could just cheat and set the REBOOT property to FORCE. Or you might want to remove the ALLUSERS property from the MSI. Don't ask me why but I have had two installations where removing the ALLUSERS property fixed things.
Other than that I dunno what else to say other than something is wrong with your package. [8D]
Other than that I dunno what else to say other than something is wrong with your package. [8D]
Posted by:
MDingenouts
19 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.