mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-11-29 07:24:13 +01:00
Windows Uninstaller: remove GCS config files (including obsolete) on demand
This commit is contained in:
parent
2db1bcdaf8
commit
249e6db241
@ -325,6 +325,7 @@ Section "un.OpenPilot GCS" UnSecProgram
|
||||
DeleteRegKey HKCU "Software\OpenPilot"
|
||||
|
||||
; Remove shortcuts, if any
|
||||
SetShellVarContext all
|
||||
Delete /rebootok "$DESKTOP\OpenPilot GCS.lnk"
|
||||
Delete /rebootok "$SMPROGRAMS\OpenPilot\*"
|
||||
RMDir /rebootok "$SMPROGRAMS\OpenPilot"
|
||||
@ -332,17 +333,21 @@ SectionEnd
|
||||
|
||||
Section "un.Maps cache" UnSecCache
|
||||
; Remove maps cache
|
||||
SetShellVarContext current
|
||||
RMDir /r /rebootok "$APPDATA\OpenPilot\mapscache"
|
||||
SectionEnd
|
||||
|
||||
Section /o "un.Configuration" UnSecConfig
|
||||
; Remove configuration
|
||||
Delete /rebootok "$APPDATA\OpenPilot\OpenPilotGCS.db"
|
||||
Delete /rebootok "$APPDATA\OpenPilot\OpenPilotGCS.xml"
|
||||
SetShellVarContext current
|
||||
Delete /rebootok "$APPDATA\OpenPilot\OpenPilotGCS*.db"
|
||||
Delete /rebootok "$APPDATA\OpenPilot\OpenPilotGCS*.xml"
|
||||
Delete /rebootok "$APPDATA\OpenPilot\OpenPilotGCS*.ini"
|
||||
SectionEnd
|
||||
|
||||
Section "-un.Profile" UnSecProfile
|
||||
; Remove OpenPilot user profile subdirectory if empty
|
||||
SetShellVarContext current
|
||||
RMDir "$APPDATA\OpenPilot"
|
||||
SectionEnd
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user