diff packaging/trustbridge.nsi @ 1355:1dbe849fd0bf

Remove empty parent directory of installation direcotry.
author Andre Heinecke <andre.heinecke@intevation.de>
date Thu, 30 Oct 2014 14:27:23 +0100
parents 4503af8f6ce4
children 77c9e35657ab
line wrap: on
line diff
--- a/packaging/trustbridge.nsi	Thu Oct 30 12:51:25 2014 +0100
+++ b/packaging/trustbridge.nsi	Thu Oct 30 14:27:23 2014 +0100
@@ -335,6 +335,8 @@
   RmDir "$0\BSI"
   Delete "$INSTDIR\Uninstall.exe"
   RMDir "$INSTDIR"
+  RMDir "$INSTDIR\.." # The instdir is \trustbridge usually \BSI\TrustBridge we delete the parent directory only if it is empty. So no harm
+                      # done if that is not the case.
 
   !insertmacro MUI_STARTMENU_GETFOLDER Application $StartMenuFolder
 

http://wald.intevation.org/projects/trustbridge/