From 3bb00c3b7685126fc632b2353117634a6ab11fd1 Mon Sep 17 00:00:00 2001 From: Nate Weibley Date: Fri, 18 Mar 2016 16:28:16 -0400 Subject: [PATCH] Run uninstaller directly to prevent removing necessary files during reinstall for #3045 --- deploy/qgroundcontrol_installer.nsi | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deploy/qgroundcontrol_installer.nsi b/deploy/qgroundcontrol_installer.nsi index 37e30cd2e..0ac2f5d12 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 \ -- 2.22.0