Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How can I allow MSI features to be selected in a WiX burn bootstrapper?

I have just started playing around with Burn to try and chain multiple MSI files. I am using WiX v3.6.2705.0.

The chaining is working but I'm now trying to get optional features to work. I was hoping that it would just be a case of setting EnableFeatureSelection to "yes" for my MsiPackage tags but it doesn't make any difference whether it is turned on or off.

Is there anything else that needs to be done to get optional features working or is this a known issue?

Thanks, Alan

like image 210
Alan Spark Avatar asked Mar 12 '12 14:03

Alan Spark


People also ask

How do I create an MSI using WiX toolset?

In Visual Studio, open your solution, and add a WiX project to it: go to the Visual Studio main menu and click File -> Add -> New Project to open the Add New Project dialog. Choose the Setup Project item in the Windows Installer XML node, specify the project name and click OK.

What is WiX Bootstrapper?

The bootstrapper application DLL is responsible for displaying UI to the end-user and directs the Burn engine when to carry out download, install, repair and uninstall actions.


1 Answers

If you want to display the features in a UI for the user to select then there are two options:

  1. Create a custom bootstrapper application using Burn to collect information from the user, and then pass that information to the msi when you launch it. Custom WiX Burn bootstrapper user interface? wix-burn-3-6-beta-custom-ui-examples

  2. If you have authored a UI into your MSI and you want Burn to display that UI in addition to the Burn UI, then in your MsiPackage, set DisplayInternalUI="yes".

like image 185
BryanJ Avatar answered Sep 28 '22 01:09

BryanJ