; Installation inf for Cartech Direct Driver
;
; Copyright (c) 2002 Cartech s.n.c.
;

[Version]
Signature="$CHICAGO$"
Class=USB
ClassGUID={36fc9e60-c465-11cf-8056-444553540000}
Provider=%Cartech%

DriverVer=07/29/2002,1.03.20

[SourceDisksNames]
1=%DriversDisk%,,,

[SourceDisksFiles]
CTU2K.sys = 1
CTU2K.inf = 1
CTU2K.dll = 1
CTU2KUN.exe = 1

[Manufacturer]
%Cartech%=CartechHw

[CartechHw]
%USB\VID_0403&PID_FAD8.DeviceDesc%=CTU2K, USB\VID_0403&PID_FAD8

[ControlFlags]
ExcludeFromSelect=USB\VID_0403&PID_FAD8

;[PreCopySection]
;HKR,,NoSetupUI,,1

[DestinationDirs]
DefaultDestDir   = 11
CTU2K.Files.Ext = 10,System32\Drivers
CTU2K.Files.Dll = 11
CTU2K.Files.Exe = 11

;---------------------------------------------------------------;
; For Win98 ...
;

[CTU2K]
CopyFiles=CTU2K.Files.Ext, CTU2K.Files.Dll, CTU2K.Files.Exe
AddReg=CTU2K.AddReg, CTU2K.UnInst

[CTU2K.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,CTU2K.sys
HKLM,"System\Currentcontrolset\Services\CTU2K\Parameters","MaximumTransferSize",0x10001,4096
HKLM,"System\Currentcontrolset\Services\CTU2K\Parameters","DebugLevel",0x10001,2

[CTU2K.Files.Ext]
CTU2K.sys

[CTU2K.Files.Dll]
CTU2K.dll

[CTU2K.Files.Exe]
CTU2KUN.exe

[CTU2K.UnInst]
HKLM,%WINUN%,"CTU2K"
HKLM,%WINUN%\CTU2K , "UninstallString",,"%11%\CTU2KUN.exe"
HKLM,%WINUN%\CTU2K , "DisplayName",,"Serial To Kline Interface"


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

[CTU2K.NT]
CopyFiles=CTU2K.Files.Ext, CTU2K.Files.Dll, CTU2K.Files.Exe
AddReg=CTU2K.AddReg, CTU2K.UnInst

[CTU2K.NT.Services]
Addservice = CTU2K, 0x00000002, CTU2K.AddService

[CTU2K.AddService]
DisplayName    = %CTU2K.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\CTU2K.sys
LoadOrderGroup = Base


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

[Strings]
Cartech="Cartech sas"
USB\VID_0403&PID_FAD8.DeviceDesc="Serial To Kline Interface"
CTU2K.SvcDesc="CTU2K.SYS CTU2K device driver"
WINUN="Software\Microsoft\Windows\CurrentVersion\Uninstall"
DriversDisk="Cartech KLINE Drivers Disk"

