/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (6)

Posted by: kkaminsk 19 years ago
9th Degree Black Belt
0
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
Second Degree Green Belt
0
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 ;-)
Posted by: kkaminsk 19 years ago
9th Degree Black Belt
0
You can snapshot a service as long as it is not running at the kernel level. I.E. device driver. There are ways to install those but MSI definately supports the installation of services.
Posted by: MDingenouts 19 years ago
Senior Yellow Belt
0
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.
Posted by: kkaminsk 19 years ago
9th Degree Black Belt
0
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]
Posted by: MDingenouts 19 years ago
Senior Yellow Belt
0
Already tried forced reboot. Did not check ALLUSERS however: it was absent (equals 0). Tried both setting it to 1 en 2, but neither made a difference. Guess I'm stuck with machine-based distribution.

Thanks for your input,
Marcel
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ