Any one know, how I after installed a service, can set it to start automatic when windows starts up..

0 Comments   [ - ] Hide Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
Answer this question or Comment on this question for clarity


Have you tried Goog......NO! I'm not biting this time, I'm not!
Answered 02/24/2009 by: VBScab
Red Belt

Please log in to comment
If you refer to an MSI install then:

Set the StartType column with the SERVICE_AUTO_START bit for the entry in the ServiceInstall table; ex. ServiceInstall.StartType=2

For the installation to automatically start the service during install then add the msidbServiceControlEventStart (1) bit to the ServiceControl.Event column for the service entry in the ServiceControl table

If not then you could set it in the registry for the service, by using services.msc, SC or any other tool supporting service management.
Answered 02/24/2009 by: AngelD
Red Belt

Please log in to comment