【发布时间】:2015-02-15 16:01:42
【问题描述】:
我已创建并安装了 msi,但在卸载过程中遇到问题。我想在通过自定义操作卸载之前强制关闭应用程序 - wix 我已经搜索了很多,但没有找到任何解决方案。 我想要一个类似的解决方案。
<Property Id="QtExecCmdLine" Value='"[SystemFolder]taskkill.exe" /F /IM ConfigurationManager.exe /t'/>
<CustomAction Id="StopUserExe" BinaryKey="WixCA" DllEntry="CAQuietExec" Execute="immediate" Return="ignore"/>
<InstallExecuteSequence>
<Custom Action='StopUserExe' Before='RemoveFiles'></Custom>
</InstallExecuteSequence>
【问题讨论】:
-
上述解决方案有什么问题?
-
它不会退出我的应用程序。
标签: wix windows-installer uninstallation custom-action