It should be noted that in the failure case the feature table reads like I'd expect...(from the installer log)
Feature: Root; Installed: Local; Request: Null; Action: Null Feature: WebSites; Installed: Local; Request: Null; Action: Null Feature: Public; Installed: Local; Request: Null; Action: Null Feature: Private; Installed: Local; Request: Absent; Action: Absent Feature: Tools; Installed: Absent; Request: Local; Action: Local Feature: ToolA; Installed: Absent; Request: Local; Action: Local Feature: ToolB; Installed: Absent; Request: Null; Action: Null On Fri, Sep 12, 2014 at 11:02 AM, Tony <yellowjacketl...@gmail.com> wrote: > I'm updating one of our installers to support change/modify and I'm > running into a few issues that I don't understand. I'm using the > WixUI_FeatureTree sequence. And, for the first time installation, by > default, we want none of the features selected for install. This works. > However, later during a 'change' sequence in which we add an additional > feature AND select one feature for uninstall we end up with NO features > installed on disk. Why is this happening? > > More details... > > RootFeature > --WebSites > ----Public > ----Private > --Tools > ----Tool-A > ----Tool-B > > For my initial fresh install, I choose to only install 'Public". That > works fine. Later I select "Change" in Programs/Feature and 'add' > Private. Again, this works as expected. However, when I choose 'Change' a > third time, I mark Private for uninstall and mark Tool-A for install, the > end result is *ALL* of the features are removed from *DISK*. Though > entering the Change a fourth time, it appears as though Windows thinks > Public and Tool-A are installed. > > > Full Feature code (though some of the fluff removed for brevity): > <Feature Id="RootFeature" > Level="2" > ConfigurableDirectory="MYROOTDIR" > InstallDefault="local" > AllowAdvertise="no" > > <ComponentGroupRef Id="LogsFolderComp"/> > <FeatureRef Id="WebSites"/> > <FeatureRef Id="Tools"/> > </Feature> > > <Feature Id="WebSites" > Level="1" > InstallDefault="local" > AllowAdvertise="no" > > <Feature Id="Private" > Level="1" > InstallDefault="local" > AllowAdvertise="no" > > <ComponentGroupRef Id="PrivateComp"/> > </Feature> > <Feature Id="Public" > Level="1" > InstallDefault="local" > AllowAdvertise="no" > > <ComponentGroupRef Id="PublicComp"/> > </Feature> > </Feature> > > <Feature Id="Tools" > Level="1" > InstallDefault="local" > AllowAdvertise="no" > > <Feature Id="Tool-A" > Level="1" > InstallDefault="local" > AllowAdvertise="no" > > <ComponentGroupRef Id="ToolAComp"/> > </Feature> > <Feature Id="Tool-B" > Level="1" > InstallDefault="local" > AllowAdvertise="no" > > <ComponentGroupRef Id="ToolBComp"/> > </Feature> > </Feature> > > -- > Tony > -- 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