Hello,
I am trying to make a simple windows installer constisting of these 
features:
feature1
feature2
examples.
The feature examples consists of features:
examples_feature1 (will be hidden)
examples_feature2 (will be hidden)
I want to install feature "examples_feature1" ONLY if user selected 
feature1 to install and feature "examples" to install. Similarly, I want 
to install feature "examples_feature2" ONLY if user selected feature2 
and feature "examples".

I tried doing it with this code:

<Feature Id='feature1' Title='feature1' Description='feature1' 
Level='1000'>
    <ComponentRef Id='component1' />
</Feature>

<Feature Id='feature2' Title='feature2' Description='feature2' 
Level='1000'>
    <ComponentRef Id='component2' />
</Feature>

<Feature Id='examples' Title='examples' Description='examples' 
Level='1000'>
   <Feature Id='examples_feature1' Title='examples_feature1' 
Description='examples_feature1' Level='1000' Display='hidden' 
InstallDefault='followParent'>
       <Condition Level='1'>(&amp;feature1=3)</Condition>
           <ComponentRef Id='component3' />
   </Feature>

   <Feature Id='examples_feature2' Title='examples_feature2' 
Description='examples_feature2' Level='1000' Display='hidden' 
InstallDefault='followParent'>
       <Condition Level='1'>(&amp;feature2=3)</Condition>
           <ComponentRef Id='component4' />
   </Feature>
</Feature>

The problem with this is that examples_feature1 is not installed if I 
choose examples and feature1 to install. (the same with feature2).

Does anybody know how to do this?
Thanks a lot.

Tamara



------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to