Wix应该在两个功能中安装任何一个功能

发布于 2025-01-28 17:36:06 字数 345 浏览 4 评论 0原文

我在WIX源代码,feature_a和feature_b。中有两个功能,并在安装程序中填充功能。

在我的用例中,安装程序应允许feature_a或feature_b,而不是两者。 如果用户选择这两个功能,则安装程序应警告不要进一步进行。

我没有为安装程序使用自定义对话。作为标准安装程序序列的一部分,是否可以进行此条件检查?有什么建议吗?

I have two features in the Wix source code, Feature_A, and Feature_B., and populate the FeatureTree in the installer.
enter image description here

In my Use case, the installer should allow either the Feature_A or Feature_B, not both.
if the user has selected both features, the installer should warn not to proceed further.

I am not using customized dialogues for the installer. Is this possible to do this condition check as part of the standard installer sequence? any suggestions?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

薄荷梦 2025-02-04 17:36:06

MSI中没有互斥功能的概念。您必须修改UI(并具有静音安装的矫形门检查),以便在未选择或两个功能的情况下不进行。

另一种可能性是不显示此屏幕并将选择抽象为RadioButton组,并根据选择的RadioButton设置了安装的反引起功能。

There's no concept of mutually exclusive features in MSI. You have to modify the UI (and have corrospending gate checks for silent installations ) to not proceed if neither or both features are selected.

Another possibility is to not show this screen and abstract the selection to a radiobutton group and based on which radiobutton is selected set the corrosponding feature for installation.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文