See "Conditional Statement Syntax" - http://msdn.microsoft.com/en-us/library/aa368012(VS.85).aspx Ampersand means action to be applied to the feature.
Alex -----Original Message----- From: Arvind Aiyar [mailto:arvind.ai...@microsoft.com] Sent: Monday, August 31, 2009 11:22 AM To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] How to use the FeatureId in a CustomAction condition I swear I knew this, but for the life of me I can't figure it out: How do I use the Feature Id in a custom action condition ? I used something like this during Install and Uninstall but this doesn't seem to work. Is there a reference on how the ampersand (&) evaluates when applied to Feature ID ? <InstallExecuteSequence> <Custom Action="InstallApp" After="InstallFiles"><![CDATA[(&MyCoolApp = 3) AND (NOT Installed)]]></Custom> <Custom Action="UnInstallApp" Before="RemoveFiles"><![CDATA[(&MyCoolApp <> 3) AND (Installed)]]></Custom> </InstallExecuteSequence> -Arvind ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day trial. Simplify your report design, integration and deployment - and focus on what you do best, core application coding. Discover what's new with Crystal Reports now. http://p.sf.net/sfu/bobj-july _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users