且构网

分享程序员开发的那些事...
且构网 - 分享程序员编程开发的那些事

WIX 生成的 MSI 的自定义卸载程序

更新时间:2022-01-28 00:27:29

事情没那么简单.无论出于何种原因,ARP 都不尊重 MSI 软件包上的 UninstallString.因此,要更改它,您必须设置 ARPSYSTEMCOMPONENT 并验证您可能希望支持的所有各种升级和删除路径.Heath Stewart 有一个 系列博文 与此相关,有助于列举可能的场景和常见问题.

It's not that simple. For whatever reason, the ARP doesn't respect the UninstallString on MSI packages. So to change it you would have to set ARPSYSTEMCOMPONENT and validate all the various upgrade and removal paths you may ever wish to support. Heath Stewart has a series of blog posts related to this which help enumerate the possible scenarios and common problems with them.

我相信这个系列是在 MSI 3.x 时代编写的,所以它可能没有解决 Windows Vista 或更高版本的任何新问题,并且无法利用 MSI 4.5 补丁卸载自定义操作标志.

I believe this series was written in the MSI 3.x era, so it likely does not address any new concerns on Windows Vista or later, and could not take advantage of the MSI 4.5 patch-uninstall custom action flag.