是否可以在wix中添加卸载对话框? [英] Is it possible to add dialog box for uninstallation in wix?

查看:25
本文介绍了是否可以在wix中添加卸载对话框?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想添加自定义对话框以卸载我的应用程序.我还尝试了以下方法:

I want to add customized dialog box for uninstallation of my application. I have also tried the following:

<InstallUISequence>
   <Show Dialog="RemoveDlg" OnExit="success">REMOVE="ALL"</Show>
</InstallUISequence>

在wix中是否可能?有人能帮我解决这个问题吗?

Is it possible or not in wix? Can anyone help me out with this?

推荐答案

虽然您当然可以创作特定于产品删除的对话框,但从添加或删除程序(现在的程序和功能)中的删除按钮开始的卸载在运行时无需UI 序列,因此不会显示这些对话框.一种常见的替代方法是设置 ARPNOREMOVE 属性,然后要求最终用户单击修改而不是删除.修改按钮开始维护,它会显示您的 UI.

While you can certainly author dialogs that are specific to product removal, uninstallations started from the remove button in Add or Remove Programs (now Programs and Features) are run without the UI sequence, and thus will not show these dialogs. One common alternative is to set the ARPNOREMOVE property which then requires the end user to click Modify instead of Remove. The modify button starts maintenance, which does show your UI.

这篇关于是否可以在wix中添加卸载对话框?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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