WIX:在 WixUI_MaintenanceTypeDlg 中禁用更改/修复/删除按钮
我正在使用 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 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
不要设置 ARPNO* 属性;正如文档所说,“设置它们”——即任何东西——都会禁用 ARP 行为。
Don't set the ARPNO* properties; as the documentation says, "setting them" -- i.e., to anything -- disables the ARP behavior.