A guess: most likely the UI is setting a property that's used as a
condition on the component, let's assume it's the component that
installs the service and starts it. If the value of the property is not
preserved but is used again as a condition on uninstall the service
won't uninstall because the property won't be there. The answer would be
to persist the property value (in the registry, say) and reacquire it
(AppSearch) for the uninstall. 

Phil Wilson 



________________________________

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Rob
Mensching
Sent: Sunday, December 03, 2006 9:21 PM
To: Emma Hanna; wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Optional Service Start - Help Needed



What do you mean does not uninstall properly?

 

From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Emma Hanna
Sent: Sunday, December 03, 2006 15:28
To: wix-users@lists.sourceforge.net
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
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to