Could you make "examples_feature1" visible and a child feature of "feature1" and "examples_feature2" visible and a child of "feature2" ? Remove the feature "examples".
The user could select the examples that they wanted to install but they couldnt install the examples without the corresponding parent feature. It would be possible to install both examples_feature1 and examples_feature2 at the same time. I dont know if that is desirable. -----Original Message----- From: Tamara Kustarova [mailto:kustar...@fastmq.com] Sent: 21 July 2009 14:57 To: wix-us...@lists.sourceforge.net. Subject: [WiX-users] Condition in Feature 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'>(&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'>(&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 SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ 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