如何允许在WiX刻录引导程序中选择MSI功能? [英] How can I allow MSI features to be selected in a WiX burn bootstrapper?

查看:99
本文介绍了如何允许在WiX刻录引导程序中选择MSI功能?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我刚刚开始使用Burn尝试链接多个MSI文件.我正在使用WiX v3.6.2705.0.

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

链接正在工作,但是我现在正在尝试使可选功能起作用.我希望将MsiPackage标签的EnableFeatureSelection设置为"yes"只是一种情况,但是无论打开还是关闭它都没有任何区别.

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?

谢谢, 艾伦

推荐答案

如果要在用户界面中显示功能以供用户选择,则有两个选项:

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

  1. 使用Burn创建一个自定义引导程序,以收集用户信息,然后在启动时将其传递给msi. 自定义WiX Burn引导程序用户界面? wix-burn-3-6-beta-custom-ui-examples

  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

如果您已将UI编写到MSI中,并且希望Burn除了显示Burn UI之外还显示该UI,请在MsiPackage中设置DisplayInternalUI ="yes".

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

这篇关于如何允许在WiX刻录引导程序中选择MSI功能?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆