Firstly list replies should stay on the list. Someone else could've answered this before I got time to do it.
Your problem looks like you're trying to use Component Conditions when you actually want to use the INSTALLLEVEL property since you're using a SelectionTree (I'm assuming you're using WiXUI_Mondo or something derived from it, see -> http://wix.sourceforge.net/manual-wix3/WixUI_mondo.htm). E.g. <Feature Id="ProductFeature" Title="My Feature" Level="1"> <ComponentRef Id="Component1" /> ... <Feature Id="SubFeature" Title="Sub Feature" Level="5"> <ComponentRef Id="SubComponent1 /> ... </Feature> </Feature> Selecting a "Typical" install wouldn't install SubFeature in the above example as it's Level is always higher than the INSTALLLEVEL property. However selecting Custom & using the SelectionTree to enable it would as would selecting a "Complete" install. You could then set the INSTALLLEVEL property on the command line to make the sub Feature install e.g. msiexec /i <myinstaller.msi> /qb INSTALLLEVEL=10 Component Conditions & Feature Conditions are only useful when you have something you can check in a Property like checkboxes or radio buttons. If you need to use a SelectionTree to selectively allow installation of Features then INSTALLLEVEL is the easiest implementation. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer ________________________________ From: vijay chander [mailto:vijaychander2...@gmail.com] Sent: 02 June 2010 06:04 To: Pally Sandher Subject: Re: [WiX-users] wix installer for both GUI installation and Commandline installation Hi, I'm new to WiX-users and I dont know whether I can reply directly are not. I'm really sorry if this is the wrong process. In reply to the below mail thread, here are the details of what I'm doing: I need to create an installer using WIX which will support both GUI installation and Command Line Installation. My Installation contains some components, which can be either installed from GUI by selecting in Feature Tree or from command line using command "installer.msi feature1 = 1" When I'm trying to put some conditions in features saying <condition> feature1 = 1 </condition> then it was skipped on GUI installation. I have tried giving defining a property saying <Property Id="CMD2" Value="3"/> and I've tried using it in features syaing <Condition> <!CDATA[feature1=1]> AND <!CDATA[CMD=2]></Condition> but this have not solved issue because it was same as keeping no conditions. So how can I resolve this issue? please help me. Thanks in advance, Regards, Vijay Chander ________________________________________________________________________ __________________________ Date: Tue, 1 Jun 2010 18:53:01 +0100 From: "Pally Sandher" <pally.sand...@iesve.com> Subject: Re: [WiX-users] wix installer for both GUI installation and Commandline installation To: "General discussion for Windows Installer XML toolset." <wix-users@lists.sourceforge.net> Message-ID: <7e4ef7766063ec4091542b5b3e671ec402b3e...@mail.iesve.com> Content-Type: text/plain; charset="us-ascii" More information on what you're actually trying to do, where things are going wrong & the code you're using to do it might get you further towards answers. Palbinder Sandher Software Deployment & IT Administrator T: +44 (0) 141 945 8500 F: +44 (0) 141 945 8501 http://www.iesve.com <http://www.iesve.com/> **Design, Simulate + Innovate with the <Virtual Environment>** Integrated Environmental Solutions Limited. Registered in Scotland No. SC151456 Registered Office - Helix Building, West Of Scotland Science Park, Glasgow G20 0SP Email Disclaimer -----Original Message----- From: vijay chander [mailto:vijaychander2...@gmail.com] Sent: 01 June 2010 08:05 To: wix-users@lists.sourceforge.net Subject: [WiX-users] wix installer for both GUI installation and Commandline installation Hi, I'm trying to create installer which can be installed using both GUI or commandline installation. When I have tried I was able to do either by only GUI or by only Commandline. :( Can anyone suggest how to do it by both the options. Regards, Vijay Chander ------------------------------------------------------------------------ ------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users