From: Jeffrey Altman Date: Fri, 2 Feb 2007 15:36:45 +0000 (+0000) Subject: windows-nsis-20070202 X-Git-Tag: BP-openafs-windows-kdfs-ifs~834 X-Git-Url: https://git.michaelhowe.org/gitweb/?a=commitdiff_plain;h=38d6f485078185acc0067362eb970b5cbf41e800;p=packages%2Fo%2Fopenafs.git windows-nsis-20070202 even if afsd_service.exe can be shut down the binary might still not be able to be replaced due to the windows Protection Service. Use the ReplaceDLL macro --- diff --git a/src/WINNT/install/NSIS/OpenAFS.nsi b/src/WINNT/install/NSIS/OpenAFS.nsi index 4f26bc5f8..c04558383 100644 --- a/src/WINNT/install/NSIS/OpenAFS.nsi +++ b/src/WINNT/install/NSIS/OpenAFS.nsi @@ -542,7 +542,7 @@ Section "!AFS Client" secClient File "${AFS_CLIENT_BUILDDIR}\aklog.exe" !insertmacro ReplaceDLL "${AFS_CLIENT_BUILDDIR}\afscreds.exe" "$INSTDIR\Client\Program\afscreds.exe" "$INSTDIR" !insertmacro ReplaceDLL "${AFS_CLIENT_BUILDDIR}\afs_shl_ext.dll" "$INSTDIR\Client\Program\afs_shl_ext.dll" "$INSTDIR" - File "${AFS_CLIENT_BUILDDIR}\afsd_service.exe" + !insertmacro ReplaceDLL "${AFS_CLIENT_BUILDDIR}\afsd_service.exe" "$INSTDIR\Client\Program\afsd_service.exe" "$INSTDIR" File "${AFS_CLIENT_BUILDDIR}\symlink.exe" File "${AFS_DESTDIR}\bin\kpasswd.exe" File "${AFS_SERVER_BUILDDIR}\pts.exe"