Commit 3bb00c3b authored by Nate Weibley's avatar Nate Weibley

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

parent cfcaee42
......@@ -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 \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment