Mercurial > trustbridge
comparison 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 |
comparison
equal
deleted
inserted
replaced
1197:bfe305e09e2d | 1198:c072dda0b541 |
---|---|
272 !ifdef WRITE_UNINSTALLER | 272 !ifdef WRITE_UNINSTALLER |
273 Section "Uninstall" | 273 Section "Uninstall" |
274 StrCmp "$douninstcertificates" "TRUE" 0 skip_certs | 274 StrCmp "$douninstcertificates" "TRUE" 0 skip_certs |
275 ExpandEnvStrings $0 %LOCALAPPDATA% | 275 ExpandEnvStrings $0 %LOCALAPPDATA% |
276 nsExec::ExecToLog '"$INSTDIR\trustbridge-certificate-installer.exe" "list=$0\BSI\TrustBridge\list-installed.txt" "choices=uninstall"' | 276 nsExec::ExecToLog '"$INSTDIR\trustbridge-certificate-installer.exe" "list=$0\BSI\TrustBridge\list-installed.txt" "choices=uninstall"' |
277 Delete "$0\BSI\TrustBridge\list*.txt" | |
278 Delete "$0\BSI\TrustBridge\SW*.exe" | |
279 RmDir "$0\BSI\TrustBridge" | |
280 RmDir "$0\BSI" | |
281 ExpandEnvStrings $0 %APPDATA% | |
282 Delete "$0\BSI\TrustBridge.ini" | |
283 RmDir "$0\BSI" | |
284 | |
277 skip_certs: | 285 skip_certs: |
278 !include "filelist_un.nsh" | 286 !include "filelist_un.nsh" |
279 Delete "$INSTDIR\Uninstall.exe" | 287 Delete "$INSTDIR\Uninstall.exe" |
280 RMDir "$INSTDIR" | 288 RMDir "$INSTDIR" |
281 | 289 |