mirror of
https://git.openafs.org/openafs.git
synced 2025-01-20 07:51:00 +00:00
windows-install-nsis-20081016
LICENSE MIT update copyright dates remove old AFS IFS entries delete afslogon* and afscpcc.* from $SYSDIR correct install location of afslogon.dll in WinLogon\Notify registry key
This commit is contained in:
parent
bfd01550bd
commit
c3251a3b18
@ -50,7 +50,7 @@ VIAddVersionKey "CompanyName" "OpenAFS.org"
|
|||||||
VIAddVersionKey "ProductVersion" ${AFS_VERSION}
|
VIAddVersionKey "ProductVersion" ${AFS_VERSION}
|
||||||
VIAddVersionKey "FileVersion" ${AFS_VERSION}
|
VIAddVersionKey "FileVersion" ${AFS_VERSION}
|
||||||
VIAddVersionKey "FileDescription" "OpenAFS for Windows Installer"
|
VIAddVersionKey "FileDescription" "OpenAFS for Windows Installer"
|
||||||
VIAddVersionKey "LegalCopyright" "(C)2000-2007"
|
VIAddVersionKey "LegalCopyright" "(C)2000-2008"
|
||||||
!ifdef DEBUG
|
!ifdef DEBUG
|
||||||
VIAddVersionKey "PrivateBuild" "Checked/Debug"
|
VIAddVersionKey "PrivateBuild" "Checked/Debug"
|
||||||
!endif ; End DEBUG
|
!endif ; End DEBUG
|
||||||
@ -575,14 +575,11 @@ Section "!AFS Client" secClient
|
|||||||
!insertmacro ReplaceDLL "${AFS_CLIENT_BUILDDIR}\afslogon.dll" "$INSTDIR\Client\Program\afslogon.dll" "$INSTDIR"
|
!insertmacro ReplaceDLL "${AFS_CLIENT_BUILDDIR}\afslogon.dll" "$INSTDIR\Client\Program\afslogon.dll" "$INSTDIR"
|
||||||
File "${AFS_CLIENT_BUILDDIR}\afscpcc.exe"
|
File "${AFS_CLIENT_BUILDDIR}\afscpcc.exe"
|
||||||
|
|
||||||
!ifdef AFSIFS
|
; Remove the binaries from the old location if present
|
||||||
SetOutPath "$SYSDIR"
|
Delete /REBOOTOK "$SYSDIR\afslogon.dll"
|
||||||
!ifndef DEBUG
|
Delete "$SYSDIR\afscpcc.exe"
|
||||||
!insertmacro ReplaceDLL "..\..\afsrdr\objfre_w2K_x86\i386\afsrdr.sys" "$SYSDIR\DRIVERS\afsrdr.sys" "$INSTDIR"
|
Delete "$SYSDIR\afslogon.pdb"
|
||||||
!else
|
Delete "$SYSDIR\afscpcc.pdb"
|
||||||
!insertmacro ReplaceDLL "..\..\afsrdr\objchk_w2K_x86\i386\afsrdr.sys" "$SYSDIR\DRIVERS\afsrdr.sys" "$INSTDIR"
|
|
||||||
!endif
|
|
||||||
!endif
|
|
||||||
|
|
||||||
Call AFSLangFiles
|
Call AFSLangFiles
|
||||||
|
|
||||||
@ -790,7 +787,7 @@ skipremove:
|
|||||||
; WinLogon Event Notification
|
; WinLogon Event Notification
|
||||||
WriteRegDWORD HKLM "Software\Microsoft\Windows NT\CurrentVersion\WinLogon\Notify\AfsLogon" "Asynchronous" 0
|
WriteRegDWORD HKLM "Software\Microsoft\Windows NT\CurrentVersion\WinLogon\Notify\AfsLogon" "Asynchronous" 0
|
||||||
WriteRegDWORD HKLM "Software\Microsoft\Windows NT\CurrentVersion\WinLogon\Notify\AfsLogon" "Impersonate" 1
|
WriteRegDWORD HKLM "Software\Microsoft\Windows NT\CurrentVersion\WinLogon\Notify\AfsLogon" "Impersonate" 1
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows NT\CurrentVersion\WinLogon\Notify\AfsLogon" "DLLName" "afslogon.dll"
|
WriteRegStr HKLM "Software\Microsoft\Windows NT\CurrentVersion\WinLogon\Notify\AfsLogon" "DLLName" "$INSTDIR\Client\Program\afslogon.dll"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows NT\CurrentVersion\WinLogon\Notify\AfsLogon" "Logon" "AFS_Logon_Event"
|
WriteRegStr HKLM "Software\Microsoft\Windows NT\CurrentVersion\WinLogon\Notify\AfsLogon" "Logon" "AFS_Logon_Event"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows NT\CurrentVersion\WinLogon\Notify\AfsLogon" "Logoff" "AFS_Logoff_Event"
|
WriteRegStr HKLM "Software\Microsoft\Windows NT\CurrentVersion\WinLogon\Notify\AfsLogon" "Logoff" "AFS_Logoff_Event"
|
||||||
WriteRegStr HKLM "Software\Microsoft\Windows NT\CurrentVersion\WinLogon\Notify\AfsLogon" "Startup" "AFS_Startup_Event"
|
WriteRegStr HKLM "Software\Microsoft\Windows NT\CurrentVersion\WinLogon\Notify\AfsLogon" "Startup" "AFS_Startup_Event"
|
||||||
|
Loading…
Reference in New Issue
Block a user