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
- :
- How to set the start type of windows service
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
‎Jan 24, 2009
02:50 AM
How to set the start type of windows service
Hi,
How to set the start type of service to manual by installscript?
The ServiceAddService method has not the param, and the result of using it the start type of service is automatic always.
And I don't know what method can solve this problem.
How to set the start type of service to manual by installscript?
The ServiceAddService method has not the param, and the result of using it the start type of service is automatic always.
And I don't know what method can solve this problem.
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 25, 2009
09:36 AM
Put the following line in a bat file and launch it from your CA.
SC CONFIG NameOfService start= auto
SC CONFIG NameOfService start= auto
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 25, 2009
10:34 AM
Perhaps see the documentation for ServiceInitParams and SERVICE_IS_PARAMS.