Browse Source

Remove current user's settings and cache during uninstall too

QGC4.4
Nate Weibley 9 years ago
parent
commit
2e62b47029
  1. 4
      deploy/qgroundcontrol_installer.nsi

4
deploy/qgroundcontrol_installer.nsi

@ -26,6 +26,8 @@ Section "Uninstall" @@ -26,6 +26,8 @@ Section "Uninstall"
Delete $INSTDIR\QGroundControl_uninstall.exe
RMDir /r /REBOOTOK $INSTDIR
RMDir /r /REBOOTOK "$SMPROGRAMS\QGroundControl\"
SetShellVarContext current
RMDir /r /REBOOTOK "$APPDATA\QGROUNDCONTROL.ORG\"
DeleteRegKey HKLM "Software\Microsoft\Windows\CurrentVersion\Uninstall\QGroundControl"
SectionEnd
@ -43,4 +45,4 @@ Function .onInit @@ -43,4 +45,4 @@ Function .onInit
"QGroundControl is already installed. $\n$\nYou must uninstall the previous version before installing a new one."
Abort
done:
FunctionEnd
FunctionEnd

Loading…
Cancel
Save