; DLKBUS.INF
; Copyright (c) 2001 D-Link Corp.

[Version]
LayoutFile=layout.inf
signature="$CHICAGO$"
Class=USB
ClassGUID={36fc9e60-c465-11cf-8056-444553540000}
Provider=%D-Link%
;CatalogFile=DLKBUS.cat
DriverVer=08/11/2000,1.00.2054

[SourceDisksNames]
1=%DriversDisk%,,,

[SourceDisksFiles]
dlcomms.vxd = 1
dlserial.sys = 1
dlsenum.vxd = 1
dlsenum.sys = 1
dlsermou.vxd = 1
dlserui.dll = 1
DLKBUS.inf = 1
dlkport.inf = 1
dlsermou.inf = 1
dlkunin.exe = 1
dlkunin.ini = 1

[DestinationDirs]
FtdiBus.Copy1 = 11
FtdiBus.Copy2 = 17
FtdiBus.NT.Copy = 10,system32\drivers
FtdiBus.NT.Copy2 = 11

[Manufacturer]
%D-Link%=FtdiHw

[FtdiHw]
%USB\VID_0403&PID_8372.DeviceDesc%=FtdiBus,USB\VID_0403&PID_8372
%USB\VID_0403&PID_6001.DeviceDesc%=FtdiBus,USB\VID_0403&PID_6001

[ControlFlags]
ExcludeFromSelect=USB\VID_0403&PID_8372
ExcludeFromSelect=USB\VID_0403&PID_6001

[FtdiBus]
CopyFiles=FtdiBus.Copy1,FtdiBus.Copy2
AddReg=FtdiBus.AddReg, FtdiBusUnInst.Reg
RemoveDevice=FtdiBus.RemDev

[FtdiBus.HW]
AddReg=FtdiBus.AddReg.HW

[FtdiBus.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,dlserial.sys

[FtdiBus.AddReg.HW]
HKR,,"UpperFilters",0x00010000,"dlsenum.sys"

[FtdiBus.Copy1]
dlcomms.vxd
dlsenum.vxd
dlsermou.vxd
dlserial.sys
dlsenum.sys
dlserui.dll
dlkunin.exe
dlkunin.ini

[FtdiBus.Copy2]
DLKBUS.inf
dlkport.inf
dlsermou.inf

[FtdiBus.RemDev]
DelFiles=FtdiBus.Delfiles
DELKEY=HKLM,%WINUN%\FTDICOMM

[FtdiBusUnInst.Reg]
HKLM,%WINUN%,"FTDICOMM"
HKLM,%WINUN%\FTDICOMM , "UninstallString",,"%11%\dlkunin.exe %11%\dlkunin.ini"
HKLM,%WINUN%\FTDICOMM , "DisplayName",,"D-Link DSB-H4SMK Drivers"

[FtdiBus.DelFiles]
dlcomms.VXD
dlsenum.vxd
dlsermou.vxd
dlserial.SYS
DLPORTS.INF
DLKCOM.INF
DLKBUS.inf
dlkport.inf
dlsenum.sys
dlserui.dll
dlkunin.exe
dlkunin.ini

;---------------------------------------------------------------;
; For Win2000 ...
;

[FtdiBus.NT]
CopyFiles=FtdiBus.NT.Copy,FtdiBus.NT.Copy2
AddReg=FtdiBus.NT.AddReg,FtdiBusUnInst.NT.Reg

[FtdiBus.NT.Services]
AddService = FTDIBUS, 0x00000002, FtdiBus_AddService

[FtdiBus_AddService]
DisplayName    = %FtdiBus.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\system32\drivers\DLKBUS.sys
LoadOrderGroup = Base

[FtdiBus.NT.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,DLKBUS.sys
HKLM,"System\CurrentControlSet\Services\FTDIBUS\Parameters","MaximumTransferSize",0x10001,4096
HKLM,"System\CurrentControlSet\Services\FTDIBUS\Parameters","DebugLevel",0x10001,2

[FtdiBus.NT.Copy]
DLKBUS.sys

[FtdiBus.NT.Copy2]
dlkun2k.exe
dlkun2k.ini

[FtdiBusUnInst.NT.Reg]
HKLM,%WINUN%,"FTDICOMM"
HKLM,%WINUN%\FTDICOMM , "UninstallString",,"%11%\dlkun2k.exe %11%\dlkun2k.ini"
HKLM,%WINUN%\FTDICOMM , "DisplayName",,"D-Link DSB-H4SMK Drivers"

;---------------------------------------------------------------;

[Strings]
D-Link="D-Link"
DriversDisk="D-Link DSB-H4SMK Drivers Disk"
USB\VID_0403&PID_8372.DeviceDesc="D-Link DSB-H4SMK"
USB\VID_0403&PID_6001.DeviceDesc="USB High Speed Serial Converter"
WINUN="Software\Microsoft\Windows\CurrentVersion\Uninstall"
FtdiBus.SvcDesc="D-Link DSB-H4SMK Driver"
