If this is the only Service in the setup, then I suppose you could add a
condition to the ServiceInstall standard action. Install the file
always, condition ServiceInstall on your condition, and there's more
complication with remembering to do the uninstall of the Service, and
conditions on the ServiceControl action too. It's arguable whether this
is better in any way the two components solution.

Phil Wilson 


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of HvPutten
Sent: Friday, January 12, 2007 4:57 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] conditional service


Hello All,

Given that i need to install a certain executable anyway is there a way
to install it as a service dependig on a condition.
My ugly, ICE error, solution is making two components with the the same
file.
One continaing thexecutable and the service.
One containing only the file.
Which componet gets installed depends on a conditiion.

I therefore install te same file in two different components which
generates ICE erros.
Is there a better way ?

Regards and thanks in advance
Hugo van Putten



--
View this message in context:
http://www.nabble.com/conditional-service-tf2965798.html#a8297905
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------
-
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=DEVDE
V
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



-------------------------------------------------------------------------
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