1
0
mirror of https://bitbucket.org/librepilot/librepilot.git synced 2024-12-10 18:24:11 +01:00

OP-179: Windows uninstaller: remove OpenPilot user profile subdirectory if empty

This commit is contained in:
Oleg Semyonov 2011-05-08 16:33:55 +03:00
parent a3e59429d8
commit 60db758637

View File

@ -257,6 +257,11 @@ Section /o "un.Configuration" UnSecConfig
Delete /rebootok "$APPDATA\OpenPilot\OpenPilotGCS.ini" Delete /rebootok "$APPDATA\OpenPilot\OpenPilotGCS.ini"
SectionEnd SectionEnd
Section "-un.Profile" UnSecProfile
; Remove OpenPilot user profile subdirectory if empty
RMDir "$APPDATA\OpenPilot"
SectionEnd
;-------------------------------- ;--------------------------------
; Uninstall section descriptions ; Uninstall section descriptions