Hi xcjjohansen, i guess you are trying to achieve conditional install of certain features. If yes, you can try something like this on the next pushbutton of MyCustomizeDlg dialog as:-
Publish Button events <Publish Dialog="MyCustomizeDlg" Control="Next" Event="*AddLocal*" Value="Server"> <![CDATA[YOUR CONDITION]]> </Publish> moreover you can add various features to Value attribute just with "," (comma) All the best with ur endeavour! Akash On Thu, Feb 26, 2009 at 6:22 PM, xcjjohansen <x...@saxobank.com> wrote: > > 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 > ------------------------------------------------------------------------------ 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