Bob: The suggestion does not seem to be working. I have tried all of the following combinations to no avail.
I have four properties defined in their respective CheckBox controls (DEV_ENVIRONMENT, TEST_ENVIRONMENT, QA_ENVIRONMENT, & PROD_ENVIRONMENT). What I am trying to do is control which one of four features (a sample shown below) are set to a @Level = "1". If I set the Feature @Level="1" and use Condition #1 or #4 in an attempt to "disable" the other three, then all four features stay at level = 1 in CustomizeDlg (i.e. feature set for install). If I set the Feature @Level="0" and use either Condition #2 or #3 in an attempt to "enable" the selected one, then all four features stay at level = 0 in CustomizeDlg (i.e. feature not available). <Feature Id="Complete" ....> ... <Feature Id="ConfigQa" Level="1" Title="Web Application Configuration (QA / UAT)" Description="Handles configuration for selected installation environment" AllowAdvertise="yes" Display="expand" TypicalDefault="install"> <ComponentRef Id="InstallInstQaCfg" /> <ComponentRef Id="CreateTemplateWebSiteQa" /> <ComponentRef Id="CreateWebSiteQaKey" /> <!--#1--><!--<Condition Level="0">NOT QA_ENVIRONMENT</Condition>--> <!--#2--><!--<!--<Condition Level="1">QA_ENVIRONMENT = "1"</Condition>--> <!--#3--><!--<!--<Condition Level="1">QA_ENVIRONMENT</Condition>--> <!--#4--><!--<!--<Condition Level="0">DEV_ENVIRONMENT OR TEST_ENVIRONMENT OR PROD_ENVIRONMENT</Condition>--> </Feature> ... </Feature> Regardless of how I configure this, it does not seem that the Feature tree is responding in the expected manner to the Property values. David Adams MSN MessengerID: [EMAIL PROTECTED] >From: Bob Arnson <[EMAIL PROTECTED]> >To: david adams <[EMAIL PROTECTED]> >CC: wix-users@lists.sourceforge.net >Subject: Re: [WiX-users] Feature List conditional control >Date: Sat, 16 Sep 2006 13:18:22 -0700 >MIME-Version: 1.0 >Received: from looneymail-a4.dreamhost.com ([208.97.132.62]) by >bay0-mc3-f18.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.2444); Sat, >16 Sep 2006 13:49:30 -0700 >Received: from [192.168.0.101] (c-24-16-84-162.hsd1.wa.comcast.net >[24.16.84.162])by looneymail-a4.dreamhost.com (Postfix) with ESMTP id >D4C9E113119;Sat, 16 Sep 2006 13:49:29 -0700 (PDT) >X-Message-Info: LsUYwwHHNt1fiNzG0rrL+mUijykWELCpRigW4oItQa0= >User-Agent: Thunderbird 1.5.0.7 (Windows/20060909) >References: <[EMAIL PROTECTED]> >Return-Path: [EMAIL PROTECTED] >X-OriginalArrivalTime: 16 Sep 2006 20:49:30.0120 (UTC) >FILETIME=[9B293880:01C6D9D1] > >david adams wrote: >>In looking at the log, it appears that the only Property that exists is >>the one whose CheckBox is selected. >> >MSI sets the property to the value you specify if it's checked and removes >the property value if it's unchecked. So you can use a condition of "NOT >CheckBoxProperty" to set a feature level to 0 if the corresponding checkbox >isn't checked. > >-- >sig://boB >http://bobs.org > > ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users