[Version]
Signature="$CHICAGO$"
Class=USB
provider=%OEM%
LayoutFile=layout.inf

[Manufacturer]
%MfgName%=OEM

[OEM]
%USB\VID_0471&PID_0222.DeviceDesc%=OTDRUSB.Dev, USB\VID_0471&PID_0222
%USB\VID_0471&PID_0666.DeviceDesc%=OTDRUSB.Dev, USB\VID_0471&PID_0666
%USB\VID_0471&PID_0888.DeviceDesc%=OTDRUSB.Dev, USB\VID_0471&PID_0888

[PreCopySection]
HKR,,NoSetupUI,,1

[DestinationDirs]
OTDRUSB.Files.Ext = 10,System32\Drivers
OTDRUSB.Files.Inf = 10,INF

[OTDRUSB.Dev]
CopyFiles=OTDRUSB.Files.Ext
AddReg=OTDRUSB.AddReg

[OTDRUSB.Dev.NT]
CopyFiles=OTDRUSB.Files.Ext
AddReg=OTDRUSB.AddReg

[OTDRUSB.Dev.NT.Services]
Addservice = OTDRUSB, 0x00000002, OTDRUSB.AddService

[OTDRUSB.AddService]
DisplayName    = %OTDRUSB.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 2                  ; SERVICE_AUTO_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %10%\System32\Drivers\OTDRUSB.sys
LoadOrderGroup = Base

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


[OTDRUSB.Files.Ext]
OTDRUSB.sys


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

[Strings]
OEM="OEM"
MfgName="OEM"
USB\VID_0471&PID_0222.DeviceDesc="OTDRUSB"
USB\VID_0471&PID_0666.DeviceDesc="OTDRUSB"
USB\VID_0471&PID_0888.DeviceDesc="OTDRUSB"
OTDRUSB.SvcDesc="OTDRUSB.Sys OTDRUSB driver"
