The ServiceControl element may help.  There's no option to restart a service, 
only to stop or start 
on install/uninstall/both.  I'm pretty sure that the StopServices action occurs 
before the 
StartServices action, so you could create 2 components, one to stop the service 
on install, and 
another to start the service on install.  You would then have to make you're 
modifications between 
these events.  I've no clue how valid an idea this is, but it's a starting 
point.

Rob

Peter Conlon wrote:
> All,
> 
> I need to change a configuration parameter on a existing service as part of 
> a product install.
> 
> I can easily change the registry value concerned but I have been unable to 
> restart the service after the change has been made.
> 
> Any ideas as to how to do this in WIX? (have tried using the 'net' command 
> in a custome action).
> 
> Thanks for any help.
> 
> Peter
> 
> _________________________________________________________________
> Download the latest version of Windows Live Messenger NOW! 
> http://get.live.com/en-ie/messenger/overview
> 
> 
> -------------------------------------------------------------------------
> This SF.net email is sponsored by: Splunk Inc.
> Still grepping through log files to find problems?  Stop.
> Now Search log events and configuration files using AJAX and a browser.
> Download your FREE copy of Splunk now >>  http://get.splunk.com/


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to