Flexera Software Community  

Go Back   Flexera Software Community > Products > InstallShield > InstallShield 2010
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 11-03-2009, 03:18 PM
Matronix Matronix is offline
Super User (100+ Posts)
 
Join Date: Oct 2006
Posts: 146
Question How to configure a service during install?

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.
Reply With Quote
  #2  
Old 11-03-2009, 03:34 PM
Marwan's Avatar
Marwan Marwan is offline
InstallShield Software Engineer
 
Join Date: Oct 2001
Posts: 269
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
Reply With Quote
  #3  
Old 11-03-2009, 03:47 PM
Matronix Matronix is offline
Super User (100+ Posts)
 
Join Date: Oct 2006
Posts: 146
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.
Reply With Quote
  #4  
Old 11-04-2009, 10:23 AM
Matronix Matronix is offline
Super User (100+ Posts)
 
Join Date: Oct 2006
Posts: 146
For now MSI5 machines, like 2003 and 2008 (non-R2), is there anything built into IS to configure services?
Reply With Quote
  #5  
Old 11-04-2009, 12:53 PM
Marwan's Avatar
Marwan Marwan is offline
InstallShield Software Engineer
 
Join Date: Oct 2001
Posts: 269
You can use InstallScript. Look up ServiceInitParams and ServiceStartService for more info.
__________________
Marwan Tabet - Senior Software Engineer - Flexera Software: InstallShield Team
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -5. The time now is 10:38 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
© 2009 Flexera Software Inc. All rights reserved.