卸载时我们可以应用转换(.mst)吗?

发布于 2025-02-09 13:18:01 字数 170 浏览 1 评论 0原文

我们在已经发布的MSI上发现了一些卸载问题,该问题在更高版本的升级期间创建问题。我需要修改一些自定义操作条件,以使其在MSI卸载时不会运行。为此,转换文件是通过更新条件生成的。但是,我不确定如何在卸载过程中通过此操作?用户可以从添加或删除程序触发卸载。

对于我们来说,次要升级不是选择,因为它需要发布新的MSI。

We found some uninstallation issue on already released msi which is creating issue during upgrade of higher version.I need to modify few custom action conditions so that it doesn't run while msi uninstallation. In order to this, transform file is generated with updated condition. However, I am not sure how to pass this during uninstallation? user can trigger uninstall from Add or Remove Programs.

Minor upgrades are not option for us as it requires release of new msi.

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

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

发布评论

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

评论(1

云朵有点甜 2025-02-16 13:18:01

如果您与MST一起安装了Windows MSI数据库,则Windows文件夹中的本地缓存MSI是您原始MSI数据库的转换版本。

如果MST添加的自定义操作(如果没有条件集)始终运行(安装,修复和拆卸)。

如果仅在卸载上运行操作,请将其设置为条件:remove =“ all”或倒置not remove =“ ALL”如果不应该在卸载。

尝试将自定义操作放在表installexecutesequence instllvalidate 和installInitialize 或之后installfinalize

您无需卸载过程中的MST。

The locally cached MSI within the Windows folder is a transformed version of your original MSI database, if you installed it together with the MST.

Your custom actions added by MST, if they have no condition set, are always run (on install, repair and removal).

If you want to run your action only on uninstallation, set this as the condition: REMOVE="ALL" or inverted NOT REMOVE="ALL" if it should NOT run on uninstallation.

Try to place your custom action in the Table InstallExecuteSequence between InstllValidate and InstallInitialize or after InstallFinalize

You don't need the MST during uninstallation.

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