fix uninstall race condition

This commit is contained in:
Syping 2025-11-20 01:29:55 +01:00
parent 02fd9f65cb
commit 72ecad5c09

View file

@ -82,7 +82,7 @@ Section -UninstallPrevious
ReadRegStr $0 ${REG_ROOT} "${UNINSTALL_PATH}" "UninstallString" ReadRegStr $0 ${REG_ROOT} "${UNINSTALL_PATH}" "UninstallString"
${If} $0 != "" ${If} $0 != ""
${GetParent} $0 $1 ${GetParent} $0 $1
ExecWait '"$0" /S "_?=$1"' ExecWait '"$0" /S _?=$1'
${EndIf} ${EndIf}
SectionEnd SectionEnd