Hi Nabble users

I plan to make a .wxs file containing multiple parentfeatures which again
has subfeatures.

I want to conditionally install a parent feature including its subfeatures,
but not the other parent features

As I see i have two choises

manipulating the level of a feature by use of <condition> elements

or by using ADDSOURCE=myparentFeature

I cant make the first choise work

the MSI documentation 
http://msdn.microsoft.com/da-dk/library/aa368014(en-us).aspx states:

 The Condition table affects only the installation of features when none of
the following properties have been set:



ADDLOCAL 
REMOVE 
ADDSOURCE 
ADDDEFAULT 
REINSTALL 
ADVERTISE 
COMPADDLOCAL 
COMPADDSOURCE 
COMPADDDEFAULT 
FILEADDLOCAL 
FILEADDSOURCE 
FILEADDDEFAULT 

And some how the REMOVE property allways gets set to something preventing my
conditions from being eveluated.

Choice two using ADDSOURCE only seems to install a parentFeature but NOT its
subfeatures

If any one has experience in this matter please raise your voice

Thanks 
xcjjohansen



-- 
View this message in context: 
http://n2.nabble.com/Conditional-installation-of-features-and-subfeatures-by-manipulating-Level-or-using-ADDSOURCE-tp2389424p2389424.html
Sent from the wix-users mailing list archive at Nabble.com.


------------------------------------------------------------------------------
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to