简体   繁体   中英

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

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".

You ca use the MsiProperty element to populate the ADDLOCAL property with the features you want installed by default.

NOTE : MsiProperty ADDLOCAL - Removed in Wix 4, warning and ignored in Wix 3.11

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM