How can I allow MSI features to be selected in a W

2020-06-01 08:15发布

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

2条回答
趁早两清
2楼-- · 2020-06-01 09:10

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

查看更多
祖国的老花朵
3楼-- · 2020-06-01 09:16

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

查看更多
登录 后发表回答