[wix-users] Bundle/Bootstrapper Feature Tree

Carlos Sosa carlos.sosa.us at outlook.com
Wed Mar 28 09:32:12 PDT 2018

I apologize for the late reply, it took me a moment to get  back to this task.
I do not know how to Hook DetectMsiFeature to detect current state of features so I’m going to have to research that.

In the mid time I tried to use WPF to call each chain component, this works well, it will install and unistall Test.msi perfectly, but how can I call an INSTALL ALL?

protected void DetectPackageComplete(object sender, DetectPackageCompleteEventArgs e)
            if (e.PackageId.Equals("Test.msi", StringComparison.Ordinal))
                this.State = e.State == PackageState.Present ? InstallState.Present : InstallState.NotPresent;

In the bundle:

      <MsiPackage SourceFile="Test.msi" />

Any help is appreciated.

From: Nir Bar [mailto:nir.bar at panel-sw.com]
Sent: Sunday, March 18, 2018 2:40 AM
To: WiX Toolset Users Mailing List <wix-users at lists.wixtoolset.org>
Cc: Carlos Sosa <carlos.sosa.us at outlook.com>
Subject: Re: [wix-users] Bundle/Bootstrapper Feature Tree

- Create a custom Bootstrapper Application.
- Set EnableFeatureSelection='yes' for every MSI you want to enable feature selection for
- Hook DetectMsiFeature to detect current state of features
- Display UI with feature selection
- Hook PlanMsiFeature to set planned feature states

Nir Bar, Independent WiX Expert. Creator of-
JetBA: WiX WPF Bootstrapper User Interface Framework
JetBA++: WiX Native Bootstrapper User Interface Framework

More information about the wix-users mailing list