[PATCH 2 of 2] Delete empty appdata roaming directory and not just local appdata

Wald Commits scm-commit at wald.intevation.org
Thu Oct 30 12:33:33 CET 2014


# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1414668809 -3600
# Node ID 4503af8f6ce406ea36d4bd08a2943fda13d906d5
# Parent  00ba9a4c422d4f8987b35a5d59f62b29939cf227
Delete empty appdata roaming directory and not just local appdata

diff -r 00ba9a4c422d -r 4503af8f6ce4 packaging/trustbridge.nsi
--- a/packaging/trustbridge.nsi	Thu Oct 30 12:33:06 2014 +0100
+++ b/packaging/trustbridge.nsi	Thu Oct 30 12:33:29 2014 +0100
@@ -331,6 +331,8 @@
   ExpandEnvStrings $0 %LOCALAPPDATA%
   RmDir "$0\BSI\TrustBridge"
   RmDir "$0\BSI"
+  ExpandEnvStrings $0 %APPDATA%
+  RmDir "$0\BSI"
   Delete "$INSTDIR\Uninstall.exe"
   RMDir "$INSTDIR"
 


More information about the Trustbridge-commits mailing list