I have the following logic in each of my feature/subfeature settings so that 
from the command line users can easily define what features/subfeatures are 
selected and unselected by default when they step into the interactive install 
or run and unattended install.

When I run my msi in interactive install mode and feed it switches such as 
"my.msi SITES=1 SITE1=1 SITE2=0 /l*v mymsi.log" what I find in the case of the 
<UIRef Id="WixUI_FeatureTreeEx" /> interactive UI experience is that instead of 
Site2 showing up as unselected it is instead removed from the list of 
subfeatures all together.   Am I going about enabling command line support for 
selected and unselected features/subfeatures the wrong way with this approach?

<Feature Id="Sites" Title="!(loc.Sites)" Level="1">
    <Condition Level="0">SITES=0</Condition>
    <Feature Id="Site1" Title="!(loc.Site1)" Level="1">
        <Condition Level="0">SITE1=0</Condition>
    </Feature>
    <Feature Id="Site2" Title="!(loc.Site2)" Level="1">
        <Condition Level="0">SITE2=0</Condition>
    </Feature>
</Feature>

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to