If you look at the code snippet I provided you'll see that's what I did. I
set the level on the root feature to 2, but the child feature's level is
still 1.  It seemed a bit hackish to me.  But if that's the proper
approach, I'll stop worrying about it.

Thanks.

On Fri, Sep 12, 2014 at 5:34 PM, Jeremiahf <jeremi...@gmail.com> wrote:

> Change your level to 2
>
> On Fri, Sep 12, 2014 at 1:44 PM, Tony <yellowjacketl...@gmail.com> wrote:
>
> > 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
> >
>
>
>
> --
> "They may forget what you said but they will never forget how you made them
> feel." -- Anonymous
>
> ------------------------------------------------------------------------------
> 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
>



-- 
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