WIX MSI 软件包卸载 [英] WIX MSI Package Uninstallation

查看:57
本文介绍了WIX MSI 软件包卸载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 WIX 作为安装程序包.当我通过双击原始 msi 包卸载包时,一切正常.

I am using WIX for an installer package. When I uninstall the package by double clicking the original msi package everything is fine.

当我从控制面板卸载时,它会给我一个最小的 UI 卸载.我在我的 MSI 中写入了一个自定义操作,询问用户是否要卸载某些数据库等.这不会发生在最小的 UI 卸载中.

When I uninstall from the control panel it gives me a miminal UI uninstallation. I have written into my MSI a custom action which asks the user whether they want to uninstall some databases etc. This does not occur on the minimal UI uninstallation.

如何让控制面板的 uinstall 与完整的 UI 一起工作?

How can I make the uinstall from control panel work with a full UI?

推荐答案

Bob Arnson 在 这个线程:

A reply by Bob Arnson in this thread:

是的,这就是行为添加/删除程序小程序.它总是在基本模式下卸载 MSI 包提示后.你唯一的事可以做的是设置 ARPNOREMOVE 来强制一个用户使用维护模式——和在您的维护界面.

Yes, that's the behavior of the Add/Remove Programs applet. It always uninstalls MSI packages in basic mode after prompting. The only thing you can do is set ARPNOREMOVE to force a user to use maintenance mode -- and surface a Remove option in your maintenance UI.

这篇关于WIX MSI 软件包卸载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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