subsurface.nsi: call RMDir for the 'share' and 'locale' subfolders

Signed-off-by: Lubomir I. Ivanov <neolit123@gmail.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Lubomir I. Ivanov 2012-10-16 11:52:19 +03:00 committed by Dirk Hohndel
parent fada2f6bc6
commit cc08e03678

View file

@ -163,10 +163,13 @@ Section "Uninstall"
# Delete installed files
Delete "$INSTDIR\*.dll"
Delete "$INSTDIR\*.xslt"
Delete "$INSTDIR\freetype-config"
Delete "$INSTDIR\subsurface.exe"
Delete "$INSTDIR\subsurface.ico"
Delete "$INSTDIR\subsurface.svg"
Delete "$INSTDIR\Uninstall.exe"
RMDir /r "$INSTDIR\share"
RMDir /r "$INSTDIR\locale"
RMDir "$INSTDIR"
# Remove shortcuts