Thanks I found it:
I have to use <![CDATA[&SQLFeature=3]]>

Rob Mensching wrote:
> MSI SDK has a section on Conditional Statement Syntax that explains this.
>
> -----Original Message-----
> From: Joe Osman [mailto:[EMAIL PROTECTED]
> Sent: Thursday, December 04, 2008 18:38
> To: General discussion for Windows Installer XML toolset.
> Subject: [WiX-users] How to execute custom action only if certain feature is 
> selected
>
> I want to execute a certain custom action only if a certain feature is
> selected. For example I have the following feature:
>
> <Feature Id="SQLFeature" Level="1" ConfigurableDirectory="INSTALLDIR"
> Description="database"  Title="Database" >
>             <ComponentRef Id="CreateNewFolder"/>
>             <ComponentGroupRef Id="ComponentGroup1"/>
> </Feature>
>
> What should I code in the InstallExecuteSequence so that a certain
> custom action will execute only if  SQLFeature was selected?
>
> <InstallExecuteSequence>
>             <Custom Action="sqlcmd.cmd" After="InstallFiles">NOT
> Installed AND - SQLFeature was selected > </Custom>
>  </InstallExecuteSequence>
>
>
> Thanks for your help !
>
> =======================================================================
> This email, including any attachments, is only for the intended
> addressee.  It is subject to copyright, is confidential and may be
> the subject of legal or other privilege, none of which is waived or
> lost by reason of this transmission.
> If the receiver is not the intended addressee, please accept our
> apologies, notify us by return, delete all copies and perform no
> other act on the email.
> Unfortunately, we cannot warrant that the email has not been
>  altered or corrupted during transmission.
> =======================================================================
>
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>
> ------------------------------------------------------------------------------
> SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
> The future of the web can't happen without you.  Join us at MIX09 to help
> pave the way to the Next Web now. Learn more and register at
> http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
> _______________________________________________
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>   

=======================================================================
This email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
 altered or corrupted during transmission.
=======================================================================


------------------------------------------------------------------------------
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to