如果未选择子功能,WIX 将禁用父功能

发布于 2024-09-16 05:54:07 字数 71 浏览 1 评论 0原文

当没有选择子功能时,有什么方法可以禁用 Wix 功能树中的功能吗? 不幸的是,Wix 默认情况下不这样做。 提前致谢 - 托马斯

is there any way to disable a feature in the featuretree of Wix, when there are no subfeatures selected?
Unfortunatly Wix doesn't do that by default.
Thanks in advance - Thomas

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

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

发布评论

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

评论(1

栀梦 2024-09-23 05:54:07

这是因为 Windows Installer 没有这样的功能。您能做的最好的事情就是编写一个自定义操作,该操作会遍历您的功能树并在孩子未设置安装时禁用父母。

否则,您是否可以重新排列功能树/组件,以便父功能不安装任何内容;只有他们的孩子吗?

This is because Windows Installer has no such capability. The best you could do is write a custom action that walks your featuretree and disables parents when children and not set to install.

Otherwise, can you possibly rearrange your feature tree / components so that the parent features don't install anything; oly their children do?

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