I must have been tired when I wrote that.  If Conditions work, they are 
usually a better choice than CAs.  However, CAs support conditions for tags 
that can't use Conditions.


Sigurd


"Rob Mensching" <[EMAIL PROTECTED]> wrote
> Why a CustomAction?  Would a Condition under the Feature element work just 
> as well?
>
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Sigurd 
> Stenersen
> Sent: Thursday, March 08, 2007 5:29 PM
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users] property in a conditional statement?
>
> "Divya Abrol (Aditi)" <[EMAIL PROTECTED]> wrote
>>Is there any way I can use this property as a conditional statement in wix
>>to install a feature something like below?
>>      <?if PROP=yes?>
>>      <FeatureRef Id="Readme"></FeatureRef>
>>      <?endif?>
>
> The preprocessor directives are evaluated when you compile the .wxs file,
> while the properties are set when you run the .msi file.  Hence, you can't
> do that.
>
> You need to use custom actions to do what you want to do. 




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