Fix. Mis, do not InstallValidate when uninstall (#7692)

Signed-off-by: fufesou <shuanglongchen@yeah.net>
This commit is contained in:
fufesou
2024-04-11 23:27:09 +08:00
committed by GitHub
parent a88b189664
commit 6e3d16173a

View File

@@ -32,6 +32,10 @@
<InstallExecute After="RemoveExistingProducts" />
<!--Only do InstallValidate if is not Uninstall-->
<!--Do InstallValidate if is Install, Change, Repair, Upgrade-->
<InstallValidate Condition="NOT (Installed AND REMOVE AND NOT UPGRADINGPRODUCTCODE )" />
<Custom Action="TerminateProcesses" Before="RemoveFiles"/>
<Custom Action="TerminateProcesses.SetParam" Before="TerminateProcesses"/>