Hi,

How do I use a property set to RadioButton in a Feature condition?
I have a Secure property called UNICODETYPE which gets set to the value of
radio button selection.
I want to use that property to decide which feature to install.

Do the Level of parent feature matter, note it is 200.  My understanding is
that any Level less than the parent feature level should be installed as
long as it is not 0. Also,  the level can be overridden with a condition.
The install level in the logs show 100, not sure if that matters here.

The parent feature (PrivacyAuditor) gets installed fine, but none of the
sub-features install. Any suggestions on what is missing/incorrect in the
code below?



    <Feature Id="PrivacyAuditor" Title="$(var.PrivacyAuditorName)"
Level="200"
             InstallDefault="local" AllowAdvertise="no" Display="10"
Description="!(loc.PrivacyAuditorFeatureDesc)">

      <Feature Id="Compression"  Level="0" AllowAdvertise="no"
Display="hidden" >
        <Condition Level="1"></Condition>
        <ComponentRef Id="pa2_indexes.sql"/>
        <ComponentRef Id="pa2_db_compression.sql"/>
        <ComponentRef Id="audit_Events"/>
      </Feature>

      <Feature Id="NoCompression"  Level="0" AllowAdvertise="no"
Display="hidden" >
        <Condition Level="1"></Condition>
        <ComponentRef Id="pa2_indexes_no_compression.sql"/>
        <ComponentRef Id="pa2_db_no_compression.sql"/>
      </Feature>

      <Feature Id="NoUnicode"  Level="0" AllowAdvertise="no"
Display="hidden" >
        <Condition Level="1"></Condition>
        <ComponentRef Id="pa2_indexes_no_compression.sql"/>
        <ComponentRef Id="pa2_db_no_unicode.sql"/>
        <ComponentRef Id="audit_Events_no_unicode"/>
      </Feature>
    </Feature>


thanks,
sangeeta




--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/RadioButton-property-not-evaluating-correctly-in-Components-Condition-tp7597915p7597949.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications.
Take corrective actions from your mobile device.
http://pubads.g.doubleclick.net/gampad/clk?id=154624111&iu=/4140/ostg.clktrk
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to