windows-installer - 微星。卸载软件时运行已安装的应用程序

标签 windows-installer

有没有办法在卸载软件时运行已安装的应用程序?例如:[INSTALLDIR]\xxx.exe -uninstall 我有一张 MSI 表格。据我所知,我必须将数据添加到表中或创建自定义脚本...但我找不到任何简单的示例...

最佳答案

您可以使用 custom action 来做到这一点。链接的示例可以帮助您,您所需要做的就是修改它,以便它根据需要启动可执行文件。

关于windows-installer - 微星。卸载软件时运行已安装的应用程序,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/11599866/

相关文章:

c# - 如何使用 Visual Studio 为 .net Windows 服务创建安装程序

installation - 使用 VS 安装和部署项目本地化安装程序?

deployment - 为部署系统的 Office VSTO 加载项创建安装程序

installation - WiX 在安装过程中覆盖配置文件。我怎样才能避免这种情况?

vbscript - 当我的 InstallShield 安装程序尝试运行我的 VBS 自定义操作时,为什么会出现 1720 错误?

asp.net-mvc-2 - ASP.NET MVC : Can an MSI file be returned via a FileContentResult without breaking the install package?

windows-installer - 为不同平台 bundle MSI 的最佳方式是什么?

installation - 购买还是构建用于Web部署?

c# - 如何在 C# 中获取安装程序类中的 msi 路径

c# - Wix 安装程序 - 更新多个连接字符串