Mercurial > trustbridge
diff packaging/trustbridge.nsi @ 1198:c072dda0b541
(issue133) Delete APPDATA local / roaming when certificates are also remvoed
author | Andre Heinecke <andre.heinecke@intevation.de> |
---|---|
date | Mon, 22 Sep 2014 19:06:24 +0200 |
parents | eb77ddd7e1ab |
children | e4aff35ef8fd |
line wrap: on
line diff
--- 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"