Emma,
 
You could use a custom action to start the service at the end of the
install, and condition the custom action from the check box.

To start a service use the command NET Start XXXX.  Use the WIX qtexec
custom action to run the command.
 
Michael


  _____  

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Emma Hanna
Sent: Monday, 4 December 2006 9:28 AM
To: [email protected]
Subject: [WiX-users] Optional Service Start - Help Needed



When installing a windows service with WIX, I need for the service to be
optionally started or not, depending on input from the user (a check box
or the like). I have tried doing this using two separate components and
adding a condition, and this appears to work, however does not uninstall
properly. Could someone advise me on the best way to go about
implementing this solution?

Thanks

Emma.

-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
WiX-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to