By default when a new sub feature is added it is automatically enabled if the parent is enabled. This is the way MSI has always functioned in my experience. I do not know where this functionality is documented.
It is always best to add new files to existing features so that you do not have to deal with this, or you issue a updated install (new MSI) as the update to get the functionality you want. You could also try writing a custom action to turn the feature back off, that that would be difficult in my opinion especially if your patches are all cumulative. ________________________________________ From: Zlatko Lovcevic [zlatko9...@yahoo.com] Sent: Friday, April 20, 2012 5:53 AM To: Peter Shirtcliffe; General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] WiX 3.5 patch: newly added feature is automaticallyinstalled I have also a new subfeature consisting of new components only and that feature also gets automatically installed. ________________________________ From: Peter Shirtcliffe <pshirtcli...@sdl.com> To: Zlatko Lovcevic <zlatko9...@yahoo.com>; General discussion for Windows Installer XML toolset. <wix-users@lists.sourceforge.net> Sent: Thursday, April 19, 2012 10:52 AM Subject: RE: [WiX-users] WiX 3.5 patch: newly added feature is automaticallyinstalled In a patch (small/minor update), you cannot add existing components to a new feature or move components between features. That's not valid. There's a summary here http://kb.flexerasoftware.com/doc/Helpnet/installshield12helplib/MajorMinorSm all.htm -----Original Message----- From: Zlatko Lovcevic [mailto:zlatko9...@yahoo.com] Sent: 19 April 2012 08:28 To: General discussion for Windows Installer XML toolset. Subject: [WiX-users] WiX 3.5 patch: newly added feature is automaticallyinstalled What causes newly added (not top level) feature using purely WiX (3.5) to be automatically installed? I added new feature which contained both existing and new components and it was way above the INSTALLLEVEL and patch installation installed it automatically. I've checked the verbose installation log and all I found was this: PROPERTY CHANGE: Adding ADDLOCAL property. Its value is 'NewFeature'. Feature: NewFeature; Installed: Absent; Request: Local; Action: Local ----------------------------------------------------------------------------- - For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users SDL PLC confidential, all rights reserved. If you are not the intended recipient of this mail SDL requests and requires that you delete it without acting upon or copying any of its contents, and we further request that you advise us. SDL PLC is a public limited company registered in England and Wales. Registered number: 02675207. Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, UK. ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------------ For Developers, A Lot Can Happen In A Second. Boundary is the first to Know...and Tell You. Monitor Your Applications in Ultra-Fine Resolution. Try it FREE! http://p.sf.net/sfu/Boundary-d2dvs2 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users