Hi akash bhatia Thanks for your reply
I am actually doing silent installations. So the input to the msi should only come from the command line msiexec /i mymsi.msi /l*v mylog.txt ADDSOURCE=mymachinename etc. I Have found a workaround by not using subfeatures. I Use componentGroups instead. So I have one componentGroup for each Service, then i reference all the services i need in a feature by referencing their respective componentGroups. But I'm still curious to get answers on my question xcjjohansen akash bhatia wrote: > > 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 > > -- View this message in context: http://n2.nabble.com/Conditional-installation-of-features-and-subfeatures-by-manipulating-Level-or-using-ADDSOURCE-tp2389424p2390503.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