The 2,1,1,1,1,1,1 pattern is used so that, by default, none of the features are selected for installation. If there is a "better" way to accomplish that behavior, let me know.
Thanks, On Tue, Oct 14, 2014 at 9:16 AM, John Cooper <jocoo...@jackhenry.com> wrote: > The Level attributes are set "inside-out" from what I would expect (and I > use). > > I would expect: > > Feature Level > ======= ===== > RootFeature 1 > Websites 2 > Tools 2 > Public 3 > Private 3 > Tool-A 3 > Tool-B 3 > > Alternatively, if the default were to install everything, I would expect > Level=1 for all features. > > See INSTALLLEVEL property. > > As it stands now, if INSTALLLEVEL=1, RootFeature will not install. > > -- > John Merryweather Cooper > Senior Software Engineer | Enterprise Service Applications | Continuing > Development > Jack Henry & Associates, Inc.® | Lenexa, KS 66214 | Ext: 431050 | > jocoo...@jackhenry.com > > > -----Original Message----- > From: Tony [mailto:yellowjacketl...@gmail.com] > Sent: Tuesday, October 14, 2014 7:46 AM > To: WiX Users > Subject: Re: [WiX-users] Change/Modify: uninstall feature-X while > installing feature-Y broken? > > I finally got around to working on this issue again. I started with a > simple wix project with a similar feature tree as our real install. It > worked. So, I started digging around our install and uncovered a custom > action (of course!) that did not correctly handle 'modify/change' (which > makes sense as we never had modify enabled until now). > > The custom action has been corrected and now the installer behaves as > expected. > > > On Fri, Sep 12, 2014 at 11:23 AM, Tony <yellowjacketl...@gmail.com> wrote: > > > 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 > > > > > > -- > Tony > > ------------------------------------------------------------------------------ > 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://p.sf.net/sfu/Zoho > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > NOTICE: This electronic mail message and any files transmitted with it are > intended > exclusively for the individual or entity to which it is addressed. The > message, > together with any attachment, may contain confidential and/or privileged > information. > Any unauthorized review, use, printing, saving, copying, disclosure or > distribution > is strictly prohibited. If you have received this message in error, please > immediately advise the sender by reply email and delete all copies. > > > > ------------------------------------------------------------------------------ > 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://p.sf.net/sfu/Zoho > _______________________________________________ > WiX-users mailing list > WiX-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/wix-users > -- Tony ------------------------------------------------------------------------------ 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://p.sf.net/sfu/Zoho _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users