Warning: file_get_contents(/data/phpspider/zhask/data//catemap/3/wix/2.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Wix 如何在卸载过程中提示用户活动进程并终止它们_Wix_Windows Installer_Uninstallation - Fatal编程技术网

Wix 如何在卸载过程中提示用户活动进程并终止它们

Wix 如何在卸载过程中提示用户活动进程并终止它们,wix,windows-installer,uninstallation,Wix,Windows Installer,Uninstallation,我将Wix 3.5与以下代码一起使用: <util:CloseApplication Id="CloseMyApp" CloseMessage="yes" Target="Foo.exe" RebootPrompt="no"/> <InstallExecuteSequence> <Custom Action='WixCloseApplications' Before='InstallValidate' /> </InstallExecuteSeque

我将Wix 3.5与以下代码一起使用:

<util:CloseApplication Id="CloseMyApp" CloseMessage="yes" Target="Foo.exe" RebootPrompt="no"/>
<InstallExecuteSequence>
  <Custom Action='WixCloseApplications' Before='InstallValidate' />
</InstallExecuteSequence>

在卸载实际发生之前,它确实会强制且静默地终止应用程序。 但是,我想知道是否有可能在终止之前用消息框提示用户,并在允许的情况下继续终止


谢谢

我想你遗漏了一些参考资料

看看这个