[wix-users] feature based bootstrapper installs? [P]

Gerhard Matzen gmatzen at osisoft.com
Wed Apr 5 12:46:39 PDT 2017


In your MsiPackage element, you need to set EnableFeatureSelection="yes".

You need to add an event handler:
PlanMsiFeature += PlanMsiFeatureHandler;

And set your desired feature state using the event handler's PlanMsiFeatureEventArgs arguments.

There are some quirks:
If you set all features to absent, that is the same as saying I want all features.
Be careful of features that have been renamed between major versions.  

-----Original Message-----
From: wix-users [mailto:wix-users-bounces at lists.wixtoolset.org] On Behalf Of Steven Ogilvie
Sent: Wednesday, April 5, 2017 6:55 AM
To: WiX Toolset Users Mailing List (wix-users at lists.wixtoolset.org) <wix-users at lists.wixtoolset.org>
Subject: [wix-users] feature based bootstrapper installs? [P]






This message has been marked as Public by Steven Ogilvie on April 5, 2017 9:54:54 AM. Classification provided by TITUS. 

Classification: Public

Wait, so I can:

1. select 1 to 2 features out of say 3
2. install those 1 to 2 features
3. run the install again and install the 3rd feature 4. then uninstall all features?

How do you go about doing that, is there an example somewhere?

Cheers,

Steve

-----Original Message-----
From: wix-devs [mailto:wix-devs-bounces at lists.wixtoolset.org] On Behalf Of Rob Mensching
Sent: April 3, 2017 1:04 PM
To: WiX Toolset Developer Mailing List <wix-devs at lists.wixtoolset.org>
Subject: Re: [wix-devs] Version 4.0

Burn already supports configuring features (although we don't generally recommend it since there is a lot of complexity when attempting to manage features directly).

What's the issue?


-----Original Message-----
From: wix-devs [mailto:wix-devs-bounces at lists.wixtoolset.org] On Behalf Of Steve Ogilvie
Sent: Monday, April 3, 2017 9:59 AM
To: WiX Dev User List <wix-devs at lists.wixtoolset.org>
Subject: [wix-devs] Version 4.0

Hi all,


Are their plans for the Bootstrapper to support a feature based install?


Thanks,


Steve
____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/ ____________________________________________________________________
WiX Toolset Developer Mailing List provided by FireGiant http://www.firegiant.com/

____________________________________________________________________
WiX Toolset Users Mailing List provided by FireGiant http://www.firegiant.com/


More information about the wix-users mailing list