Browse Source

Merge pull request #3046 from NaterGator/nsisfix

Run uninstaller directly to prevent removing necessary files during reinstall
QGC4.4
Nate Weibley 9 years ago
parent
commit
340a904322
  1. 2
      deploy/qgroundcontrol_installer.nsi

2
deploy/qgroundcontrol_installer.nsi

@ -58,7 +58,7 @@ Section @@ -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 \

Loading…
Cancel
Save