]> git.michaelhowe.org Git - packages/o/openafs.git/commitdiff
STABLE14-windows-nsis-20070202
authorJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 2 Feb 2007 15:38:16 +0000 (15:38 +0000)
committerJeffrey Altman <jaltman@secure-endpoints.com>
Fri, 2 Feb 2007 15:38:16 +0000 (15:38 +0000)
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

(cherry picked from commit 38d6f485078185acc0067362eb970b5cbf41e800)

src/WINNT/install/NSIS/OpenAFS.nsi

index b6daebe64664786b8c6dbe84b8110f8ac599da39..79e74e3c34652a992f34b4ecc692965b7f7e9d3c 100644 (file)
@@ -532,7 +532,7 @@ Section "!AFS Client" secClient
   File "${AFS_CLIENT_BUILDDIR}\aklog.exe"
   File "${AFS_CLIENT_BUILDDIR}\afscreds.exe"
   !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"