Assuming we are using the WixUI_FeatureTree UI sequence, how can I define
my features (multi-level) such that none of them are selected for
installation by default?

This works, but I wonder if it is a poor choice...(setting the
rootfeature's level to '2')?

<Feature Id="RootFeature" Level="2" InstallDefault="local" >
  <FeatureRef Id="WebSites"/>
  <FeatureRef Id="Tools"/>
</Feature>

<Feature Id="WebSites" Level="1" InstallDefault="local" >
  <Feature Id="Private" Level="1" InstallDefault="local" >
    <ComponentGroupRef Id="PrivateComp"/>
  </Feature>
  <Feature Id="Public" Level="1" InstallDefault="local" >
    <ComponentGroupRef Id="PublicComp"/>
  </Feature>
</Feature>

<Feature Id="Tools" Level="1" InstallDefault="local">
  <Feature Id="Tool-A" Level="1" InstallDefault="local" >
    <ComponentGroupRef Id="ToolAComp"/>
  </Feature>
  <Feature Id="Tool-B" Level="1" InstallDefault="local" >
    <ComponentGroupRef Id="ToolBComp"/>
  </Feature>
</Feature>
-- 
Tony
------------------------------------------------------------------------------
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191&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