Browse Source

Run uninstaller directly to prevent removing necessary files during reinstall for #3045

QGC4.4
Nate Weibley 9 years ago
parent
commit
3bb00c3b76
  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