comparison 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
comparison
equal deleted inserted replaced
1354:214958fcfc87 1355:1dbe849fd0bf
333 RmDir "$0\BSI" 333 RmDir "$0\BSI"
334 ExpandEnvStrings $0 %APPDATA% 334 ExpandEnvStrings $0 %APPDATA%
335 RmDir "$0\BSI" 335 RmDir "$0\BSI"
336 Delete "$INSTDIR\Uninstall.exe" 336 Delete "$INSTDIR\Uninstall.exe"
337 RMDir "$INSTDIR" 337 RMDir "$INSTDIR"
338 RMDir "$INSTDIR\.." # The instdir is \trustbridge usually \BSI\TrustBridge we delete the parent directory only if it is empty. So no harm
339 # done if that is not the case.
338 340
339 !insertmacro MUI_STARTMENU_GETFOLDER Application $StartMenuFolder 341 !insertmacro MUI_STARTMENU_GETFOLDER Application $StartMenuFolder
340 342
341 DeleteRegValue SHCTX "Software\BSI\${productname_short}" "Start Menu Folder" 343 DeleteRegValue SHCTX "Software\BSI\${productname_short}" "Start Menu Folder"
342 344

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