mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
KDFS-installers-20090629
LICENSE MIT permit installers to build again. this does not include all of the changes for the new documentation. that work was not pulled to this branch.
This commit is contained in:
parent
a51500bfcb
commit
4f92ca0de8
@ -566,8 +566,17 @@ Section "!AFS Client" secClient
|
||||
!insertmacro ReplaceDLL "${AFS_CLIENT_BUILDDIR}\afslogon.dll" "$INSTDIR\Client\Program\afslogon.dll" "$INSTDIR"
|
||||
File "${AFS_CLIENT_BUILDDIR}\afscpcc.exe"
|
||||
|
||||
|
||||
; Remove the binaries from the old location if present
|
||||
Delete /REBOOTOK "$INSTDIR\Client\Program\libafsconf.dll"
|
||||
Delete "$INSTDIR\Client\Program\libafsconf.pdb"
|
||||
Delete /REBOOTOK "$SYSDIR\afslogon.dll"
|
||||
Delete "$SYSDIR\afscpcc.exe"
|
||||
Delete "$SYSDIR\afslogon.pdb"
|
||||
Delete "$SYSDIR\afscpcc.pdb"
|
||||
|
||||
File "${AFS_RDR_BUILDDIR}\AFSRedirInstall.inf"
|
||||
!insertmacro ReplaceDLL "${AFS_RDR_BUILDDIR}\AFSRDFSProvider.dll" "$INSTDIR\Client\Program\AFSRDFSProvider.dll" "$INSTDIR"
|
||||
!insertmacro ReplaceDLL "${AFS_RDR_BUILDDIR}\AFSRDFSProvider.dll" "$SYSDIR\AFSRDFSProvider.dll" "$INSTDIR"
|
||||
!insertmacro ReplaceDLL "${AFS_RDR_BUILDDIR}\AFSRedir.sys" "$INSTDIR\Client\Program\AFSRedir.sys" "$INSTDIR"
|
||||
|
||||
Call AFSLangFiles
|
||||
@ -784,7 +793,7 @@ IFSDone:
|
||||
Push "AFSRedirector"
|
||||
Call AddProvider
|
||||
WriteRegStr HKLM "SYSTEM\CurrentControlSet\Services\AFSRedirector" "" ""
|
||||
WriteRegStr HKLM "SYSTEM\CurrentControlSet\Services\AFSRedirector\NetworkProvider" "ProviderPath" "$INSTDIR\Client\Program\AFSRDFSProvider.dll"
|
||||
WriteRegExpandStr HKLM "SYSTEM\CurrentControlSet\Services\AFSRedirector\NetworkProvider" "ProviderPath" "%SystemRoot%\System32\AFSRDFSProvider.dll"
|
||||
WriteRegStr HKLM "SYSTEM\CurrentControlSet\Services\AFSRedirector\NetworkProvider" "Name" "OpenAFS Network"
|
||||
WriteRegStr HKLM "SYSTEM\CurrentControlSet\Services\AFSRedirector\NetworkProvider" "DeviceName" "\Device\AFSRedirector"
|
||||
WriteRegDWORD HKLM "SYSTEM\CurrentControlSet\Services\AFSRedirector\NetworkProvider" "Class" 1
|
||||
@ -1171,13 +1180,13 @@ Section /o "Debug symbols" secDebug
|
||||
File "${AFS_CLIENT_BUILDDIR}\afscred.pdb"
|
||||
File "${AFS_CLIENT_BUILDDIR}\afslogon.pdb"
|
||||
File "${AFS_CLIENT_BUILDDIR}\afscpcc.pdb"
|
||||
File "${AFS_RDR_BUILDDIR}\AFSRDFSProvider.pdb"
|
||||
File "${AFS_RDR_BUILDDIR}\AFSRedir.pdb"
|
||||
|
||||
SetOutPath "$SYSDIR\Drivers"
|
||||
File "${AFS_RDR_BUILDDIR}\AFSRedir.pdb"
|
||||
|
||||
SetOutPath "$SYSDIR"
|
||||
File "${AFS_RDR_BUILDDIR}\AFSRDFSProvider.pdb"
|
||||
|
||||
DoServer:
|
||||
SectionGetFlags ${secServer} $R0
|
||||
@ -1854,7 +1863,7 @@ StartRemove:
|
||||
Delete /REBOOTOK "$INSTDIR\Client\Program\afscpcc.exe"
|
||||
|
||||
Delete /REBOOTOK "$SYSDIR\Drivers\AFSRedir.sys"
|
||||
Delete /REBOOTOK "$INSTDIR\Client\Program\AFSRDFSProvider.dll"
|
||||
Delete /REBOOTOK "$SYSDIR\AFSRDFSProvider.dll"
|
||||
Delete "$INSTDIR\Client\Program\AFSRedirInstall.inf"
|
||||
|
||||
Delete /REBOOTOK "$SYSDIR\afsserver.pdb"
|
||||
@ -1863,7 +1872,7 @@ StartRemove:
|
||||
Delete /REBOOTOK "$INSTDIR\Client\Program\afscpcc.pdb"
|
||||
|
||||
Delete /REBOOTOK "$SYSDIR\Drivers\AFSRedir.pdb"
|
||||
Delete /REBOOTOK "$INSTDIR\Client\Program\AFSRDFSProvider.pdb"
|
||||
Delete /REBOOTOK "$SYSDIR\AFSRDFSProvider.pdb"
|
||||
|
||||
RMDir /r "$INSTDIR\Documentation\html\CmdRef"
|
||||
RMDir /r "$INSTDIR\Documentation\html\InstallGd"
|
||||
|
@ -1403,8 +1403,6 @@
|
||||
<File Id="filelanahelper_LIB" Name="LANAHLPR.lib" LongName="lanahelper.lib" DiskId="1" src="$(var.LibDir)lanahelper.lib" />
|
||||
<File Id="filelibafsconf_LIB" Name="LIBAFCNF.lib" LongName="libafsconf.lib" DiskId="1" src="$(var.LibDir)libafsconf.lib" />
|
||||
<File Id="filelibosi_LIB" Name="libosi.lib" LongName="libosi.lib" DiskId="1" src="$(var.LibDir)libosi.lib" />
|
||||
<File Id="filecm_config_OBJ" Name="CMCONFIG.obj" LongName="cm_config.obj" DiskId="1" src="$(var.LibDir)cm_config.obj" />
|
||||
<File Id="filecm_dns_OBJ" Name="cm_dns.obj" LongName="cm_dns.obj" DiskId="1" src="$(var.LibDir)cm_dns.obj" />
|
||||
</Component>
|
||||
<Directory Id="dirLibAfs" Name="afs">
|
||||
<Component Win64="$(var.Win64)" Id="cmp_SDK_Lib_Afs" Guid="$(var.cmp_SDK_Lib_Afs_guid)">
|
||||
|
Loading…
Reference in New Issue
Block a user