Commit 340a9043 authored by Nate Weibley's avatar Nate Weibley

Merge pull request #3046 from NaterGator/nsisfix

Run uninstaller directly to prevent removing necessary files during reinstall
parents cfcaee42 3bb00c3b
......@@ -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