From cc08e0367862f99613bbf32b159e761c79cb7f97 Mon Sep 17 00:00:00 2001 From: "Lubomir I. Ivanov" Date: Tue, 16 Oct 2012 11:52:19 +0300 Subject: [PATCH] subsurface.nsi: call RMDir for the 'share' and 'locale' subfolders Signed-off-by: Lubomir I. Ivanov Signed-off-by: Dirk Hohndel --- packaging/windows/subsurface.nsi | 3 +++ 1 file changed, 3 insertions(+) diff --git a/packaging/windows/subsurface.nsi b/packaging/windows/subsurface.nsi index 9037c07c6..b19c9a49b 100644 --- a/packaging/windows/subsurface.nsi +++ b/packaging/windows/subsurface.nsi @@ -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