mirror of
https://git.openafs.org/openafs.git
synced 2025-01-20 16:00:12 +00:00
use-afsloopback-20040623
Use the new afsloopback.dll in NSIS
This commit is contained in:
parent
5d133b13a7
commit
5d7681b5aa
@ -3423,16 +3423,16 @@ FunctionEnd
|
||||
; Installs the loopback adpater and disables it on Windows 2000
|
||||
Function afs.InstallMSLoopback
|
||||
GetTempFileName $R0
|
||||
File /oname=$R0 "${AFS_WININSTALL_DIR}\loopback_install.dll"
|
||||
nsExec::Exec "rundll32.exe $R0 doLoopBackEntry quiet"
|
||||
File /oname=$R0 "${AFS_WININSTALL_DIR}\afsloopback.dll"
|
||||
nsExec::Exec "rundll32.exe $R0 doLoopBackEntry AFS 10.254.253.1 255.255.255.0"
|
||||
Delete $R0
|
||||
FunctionEnd
|
||||
|
||||
Function afs.isLoopbackInstalled
|
||||
SetOutPath $TEMP
|
||||
File "${AFS_WININSTALL_DIR}\loopback_install.dll"
|
||||
System::Call "$TEMP\loopback_install.dll::loopback_isInstalled() i().r11"
|
||||
Delete "$TEMP\loopback_install.dll"
|
||||
File "${AFS_WININSTALL_DIR}\afsloopback.dll"
|
||||
System::Call "$TEMP\afsloopback.dll::IsLoopbackInstalled() i().r11"
|
||||
Delete "$TEMP\afsloopback.dll"
|
||||
FunctionEnd
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user