Properly remove old shortcuts

This commit is contained in:
Josiah Glosson 2025-08-06 20:52:35 -05:00
parent ef32c23a5d
commit 3777373d71

View File

@ -47,7 +47,7 @@ Var /GLOBAL OldInstallDir
StrCpy $OldInstallDir $OldInstallDir -1 ""
DetailPrint "Executing $R1"
!insertmacro ShellExecWait "runas" '$R1' '/UPDATE /P _?=$4' "" ${SW_SHOW} $3
!insertmacro ShellExecWait "runas" '$R1' '/P _?=$4' "" ${SW_SHOW} $3
${If} $3 <> 0
SetErrorLevel $3
MessageBox MB_ICONEXCLAMATION|MB_OK "Failed to uninstall old global installation"