WIX:在 WixUI_MaintenanceTypeDlg 中禁用更改/修复/删除按钮

发布于 2024-09-27 04:32:16 字数 433 浏览 0 评论 0原文

我正在使用 WIX 创建安装程序和 UI 的 WixUI_Mondo。一切都很顺利,直到我偶然发现 MaintenanceTypeDlg 的问题。当我安装应用程序时,一切工作正常,但是当我稍后单击 MSI(安装应用程序时)时,我的更改/修复/删除按钮呈灰色。

以下是我的安装项目的相关部分(抱歉,没能将它们内联,因为它们被论坛软件剪切了,所以不得不将它们上传到pastebin.ca): http://pastebin.ca/1958654

因此,如您所见,我将 ARPNO*** 属性设置为零,而且,日志显示这些属性在安装过程中设置为零。我还尝试过交换 include 指令,以便 UI 跟随 ControlPanel - 不幸的是,没有运气。关于我做错了什么有什么想法吗?提前致谢。

I'm using WIX to create an installer and WixUI_Mondo for the UI. Everything had gone well until I stumbled upon a problem with MaintenanceTypeDlg. Things work finely when I install the application, however when I click the MSI later on (when the app is installed), I get change/repair/remove buttons grayed out.

Here are relevant parts of my installation project (sorry, didn't manage to put them inline, since they got cut by the forum software, so had to upload them to pastebin.ca): http://pastebin.ca/1958654.

So, as you see, I'm setting ARPNO*** properties to zero, and, what's more, the log shows these properties set to zero during install. I've also tried to swap include directives, so that UI goes after ControlPanel - unfortunately, with no luck. Any ideas about what am I doing wrong? Thanks in advance.

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

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

发布评论

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

评论(1

栩栩如生 2024-10-04 04:32:16

不要设置 ARPNO* 属性;正如文档所说,“设置它们”——即任何东西——都会禁用 ARP 行为。

Don't set the ARPNO* properties; as the documentation says, "setting them" -- i.e., to anything -- disables the ARP behavior.

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