Thank you for your reply.

I do mean runtime.  The CustomAction I'm including is from the WixVSExtension: 
VS2010InstallVSTemplates and the like. According to the documentation on this, 
it says that if you include the CustomActionRef, it will schedule everything 
for you (which I've observed is true). So I'm not sure how I can inject an 
extra condition into this. I don't have much experience with this area of wix.

Ian

-----Original Message-----
From: Castro, Edwin G. (Hillsboro) [mailto:edwin.cas...@fiserv.com] 
Sent: Monday, November 21, 2011 4:51 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Conditionally Including CustomActionRefs

Do you mean buildtime? Check the preprocessor conditional statements: 
http://wix.sourceforge.net/manual-wix3/preprocessor.htm

If you really mean runtime, when the package is getting installed, then you 
don't want to think of it as conditionally including a CustomActionRef. In this 
case you want to always include the CustomActionRef and use an appropriate 
condition in the schedule to determine whether it runs or not.

Edwin G. Castro
Software Developer - Staff
Digital Channels
Fiserv
Office: 503-746-0643
Fax: 503-617-0291
www.fiserv.com
P Please consider the environment before printing this e-mail

> -----Original Message-----
> From: Ian Williams [mailto:iawil...@microsoft.com]
> Sent: Monday, November 21, 2011 4:17 PM
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Conditionally Including CustomActionRefs
> 
> I'm trying to conditionally include some CustomActionRef's based on a 
> property at runtime.  I'm on WiX 3.6 beta right now.  I can't figure out how 
> to do this.
> Does anyone know if this is possible?
> 
> Thanks,
> Ian
> 
> ----------------------------------------------------------------------
> -------- All the data continuously generated in your IT infrastructure 
> contains a definitive record of customers, application performance, 
> security threats, fraudulent activity, and more. Splunk takes this 
> data and makes sense of it. IT sense. And common sense.
> http://p.sf.net/sfu/splunk-novd2d
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure contains a 
definitive record of customers, application performance, security threats, 
fraudulent activity, and more. Splunk takes this data and makes sense of it. IT 
sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to