![]() |
|
#1
|
|||
|
|||
|
How do you configure a service that is already on the machine? I know if you are installing a new service you can configure it with the Install NT Service part of the component.
|
|
#2
|
||||
|
||||
|
Pre 2010SP1, you can just use the Control NT Service node to start/stop/delete an installed sevice. You will have to use the Win32 APIs via a Custom Action or some script to configure an already installed service.
In 2010 SP1 / MSI5, you can use the new "Configure Settings" category under the new Services sub-node of a component to set many service options for an existing service.
__________________
Marwan Tabet - Senior Software Engineer - Flexera Software: InstallShield Team |
|
#3
|
|||
|
|||
|
Thanks for that answer. I just called support a few minutes before posting this and they gave me no mention of a SP released and this ability in there. Downloading it now and will test it out.
|
|
#4
|
|||
|
|||
|
For now MSI5 machines, like 2003 and 2008 (non-R2), is there anything built into IS to configure services?
|
|
#5
|
||||
|
||||
|
You can use InstallScript. Look up ServiceInitParams and ServiceStartService for more info.
__________________
Marwan Tabet - Senior Software Engineer - Flexera Software: InstallShield Team |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|