diff --git a/deploy/qgroundcontrol_installer.nsi b/deploy/qgroundcontrol_installer.nsi index 37e30cd2e16abbbd47be4fe0a0a484fecb0fe043..0ac2f5d12ecc438552d3be19f29eb01ca12b1c6c 100644 --- a/deploy/qgroundcontrol_installer.nsi +++ b/deploy/qgroundcontrol_installer.nsi @@ -58,7 +58,7 @@ Section ReadRegStr $R0 HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\QGroundControl" "UninstallString" StrCmp $R0 "" doinstall - ExecWait "$R0 /S" + ExecWait "$R0 /S _?=$INSTDIR" IntCmp $0 0 doinstall MessageBox MB_OK|MB_ICONEXCLAMATION \