[PATCH 3 of 3] (issue133) Delete APPDATA local / roaming when certificates are also remvoed
Wald Commits
scm-commit at wald.intevation.org
Mon Sep 22 19:06:30 CEST 2014
# HG changeset patch
# User Andre Heinecke <andre.heinecke at intevation.de>
# Date 1411405584 -7200
# Node ID c072dda0b54116e740ccd8e72be768085f118f64
# Parent bfe305e09e2d2d326e639697c7bc66fbdb782c45
(issue133) Delete APPDATA local / roaming when certificates are also remvoed
diff -r bfe305e09e2d -r c072dda0b541 packaging/trustbridge.nsi
--- a/packaging/trustbridge.nsi Mon Sep 22 19:05:20 2014 +0200
+++ b/packaging/trustbridge.nsi Mon Sep 22 19:06:24 2014 +0200
@@ -274,6 +274,14 @@
StrCmp "$douninstcertificates" "TRUE" 0 skip_certs
ExpandEnvStrings $0 %LOCALAPPDATA%
nsExec::ExecToLog '"$INSTDIR\trustbridge-certificate-installer.exe" "list=$0\BSI\TrustBridge\list-installed.txt" "choices=uninstall"'
+ Delete "$0\BSI\TrustBridge\list*.txt"
+ Delete "$0\BSI\TrustBridge\SW*.exe"
+ RmDir "$0\BSI\TrustBridge"
+ RmDir "$0\BSI"
+ ExpandEnvStrings $0 %APPDATA%
+ Delete "$0\BSI\TrustBridge.ini"
+ RmDir "$0\BSI"
+
skip_certs:
!include "filelist_un.nsh"
Delete "$INSTDIR\Uninstall.exe"
More information about the Trustbridge-commits
mailing list