Hi,
  I am creating simple wix file that contains 2 components and 2 features.

......
<Component Id="Comp1" Guid="{24098551-5A12-4d35-8760-A5B20E7B4357}">
    <File Id="File1" Name="a1.txt" Source="c:\temp\a1.txt"/>
</Component>
<Component Id="Comp2" Guid="{20391CC6-B2A6-4a79-BCB7-B2ACF22770AB}">
   <Condition><![CDATA[&F1=3]]></Condition>
    <File Id="File2" Name="a2.txt" Source="c:\temp\a2.txt"/>
</Component>
........
<Feature Id="ProductFeature" Title="WixProject11" Level="1">
  <Feature Id="F1" Title="F1" Level="1">
     <ComponentRef Id="Comp1"/>
  </Feature>
  <Feature Id="F2" Title="F2" Level="1">
     <ComponentRef Id="Comp2"/>
  </Feature>
</Feature>
.....
As you can see from example I want install Comp2 only if F1 selected,
even if F2 selected (Comp2 belong to F2).
Joy describe exactly this case in his blog
(http://www.joyofsetup.com/2008/04/09/feature-states-in-component-conditions/),
but in my case Comp2 not installed, even if both F1 & F2 features are enabled.

 What I am doing wrong?

Thanks in advance.
 Dima

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

Reply via email to