From cc6ee4f6e72fb0b7d0c55882acd1f19e717e38e6 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Wed, 29 Oct 2014 18:16:19 -0700 Subject: [PATCH] commit --- deploy/qgroundcontrol_installer.nsi | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/deploy/qgroundcontrol_installer.nsi b/deploy/qgroundcontrol_installer.nsi index 245442ca3..0d8b3a45e 100644 --- a/deploy/qgroundcontrol_installer.nsi +++ b/deploy/qgroundcontrol_installer.nsi @@ -20,10 +20,8 @@ SectionEnd Section "Uninstall" Delete $INSTDIR\QGroundControl_uninstall.exe - Delete $INSTDIR\*.* - RMDir $INSTDIR - Delete "$SMPROGRAMS\QGroundControl\*.*" - RMDir "$SMPROGRAMS\QGroundControl\" + RMDir /r /REBOOTOK $INSTDIR + RMDir /r /REBOOTOK "$SMPROGRAMS\QGroundControl\" SectionEnd Section "create Start Menu Shortcuts" -- 2.22.0