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

src/WINNT/install/NSIS/OpenAFS.nsi

index 4f26bc5f8424c060dd8a00649b8b0a4b198b7189..c045583831855e6de46ddf77fc815e1893cc87e0 100644 (file)
@@ -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"