From 096366d658312d882751aac401a5241996dcc7e8 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Thu, 18 Mar 2004 01:20:10 +0000 Subject: [PATCH] nsis-20040317 make sure that afscreds.exe is terminated after executing with the -z option. --- src/WINNT/install/NSIS/OpenAFS.nsi | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/WINNT/install/NSIS/OpenAFS.nsi b/src/WINNT/install/NSIS/OpenAFS.nsi index 0c68667..627a96d 100644 --- a/src/WINNT/install/NSIS/OpenAFS.nsi +++ b/src/WINNT/install/NSIS/OpenAFS.nsi @@ -461,6 +461,9 @@ Section "AFS Client" secClient File /oname=$R0 "${AFS_WININSTALL_DIR}\Killer.exe" ; Might not have the MSVCR71.DLL file to run nsExec::Exec '$R0 afscreds.exe' nsExec::Exec "afscreds.exe -z" + ; in case we are upgrading an old version that does not support -z + Sleep 2000 + nsExec::Exec '$R0 afscreds.exe' !IFDEF INSTALL_KFW ;nsExec::Exec '$R0 krbcc32s.exe' !ENDIF @@ -687,6 +690,9 @@ Section "AFS Server" secServer File /oname=$R0 "${AFS_WININSTALL_DIR}\Killer.exe" ; Might not have the MSVCR71.DLL file to run nsExec::Exec '$R0 afscreds.exe' nsExec::Exec "afscreds.exe -z" + ; in case we are upgrading an old version that does not support -z + Sleep 2000 + nsExec::Exec '$R0 afscreds.exe' !IFDEF INSTALL_KFW ;nsExec::Exec '$R0 krbcc32s.exe' !ENDIF @@ -1555,6 +1561,9 @@ StartRemove: File /oname=$R0 "${AFS_WININSTALL_DIR}\Killer.exe" nsExec::Exec '$R0 afscreds.exe' nsExec::Exec "afscreds.exe -z" + ; in case we are upgrading an old version that does not support -z + Sleep 2000 + nsExec::Exec '$R0 afscreds.exe' !IFDEF INSTALL_KFW nsExec::Exec '$R0 krbcc32s.exe' !ENDIF -- 1.9.4