mirror of
https://bitbucket.org/librepilot/librepilot.git
synced 2024-12-01 09:24:10 +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"
|
DeleteRegKey HKCU "Software\OpenPilot"
|
||||||
|
|
||||||
; Remove shortcuts, if any
|
; Remove shortcuts, if any
|
||||||
|
SetShellVarContext all
|
||||||
Delete /rebootok "$DESKTOP\OpenPilot GCS.lnk"
|
Delete /rebootok "$DESKTOP\OpenPilot GCS.lnk"
|
||||||
Delete /rebootok "$SMPROGRAMS\OpenPilot\*"
|
Delete /rebootok "$SMPROGRAMS\OpenPilot\*"
|
||||||
RMDir /rebootok "$SMPROGRAMS\OpenPilot"
|
RMDir /rebootok "$SMPROGRAMS\OpenPilot"
|
||||||
@ -332,17 +333,21 @@ SectionEnd
|
|||||||
|
|
||||||
Section "un.Maps cache" UnSecCache
|
Section "un.Maps cache" UnSecCache
|
||||||
; Remove maps cache
|
; Remove maps cache
|
||||||
|
SetShellVarContext current
|
||||||
RMDir /r /rebootok "$APPDATA\OpenPilot\mapscache"
|
RMDir /r /rebootok "$APPDATA\OpenPilot\mapscache"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section /o "un.Configuration" UnSecConfig
|
Section /o "un.Configuration" UnSecConfig
|
||||||
; Remove configuration
|
; Remove configuration
|
||||||
Delete /rebootok "$APPDATA\OpenPilot\OpenPilotGCS.db"
|
SetShellVarContext current
|
||||||
Delete /rebootok "$APPDATA\OpenPilot\OpenPilotGCS.xml"
|
Delete /rebootok "$APPDATA\OpenPilot\OpenPilotGCS*.db"
|
||||||
|
Delete /rebootok "$APPDATA\OpenPilot\OpenPilotGCS*.xml"
|
||||||
|
Delete /rebootok "$APPDATA\OpenPilot\OpenPilotGCS*.ini"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
Section "-un.Profile" UnSecProfile
|
Section "-un.Profile" UnSecProfile
|
||||||
; Remove OpenPilot user profile subdirectory if empty
|
; Remove OpenPilot user profile subdirectory if empty
|
||||||
|
SetShellVarContext current
|
||||||
RMDir "$APPDATA\OpenPilot"
|
RMDir "$APPDATA\OpenPilot"
|
||||||
SectionEnd
|
SectionEnd
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user