; OKI MC160n Network Scanner Driver

[Version]
Signature="$CHICAGO$"
Class=Image
CatalogFile=M160_N32.CAT
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%String0%
DriverVer=07/08/2009,1.0.0.8

[SourceDisksNames]
1=%String2%,,,

[SourceDisksFiles]
M160_TDS.ds = 1
M160_THP.chm = 1
M160_RES.dll = 1
M160_STR.tbl= 1
;XP
M160_WDX.dll=1
M160_WUX.dll=1
;Vista
M160_WDV.dll=1
M160_WUV.dll=1
M160_WER.dll=1
;
M160_NUT.exe=1
;M160_NHP.chm=1

;[ControlFlags]
;ExcludeFromSelect=*

[Manufacturer]
%String0%=M160__32,NTx86.5.1,NTx86.6.0

;///////////////
;
;Models Section
;
;///////////////
;Vista
[M160__32.NTx86.6.0]
%String1%=M160__32VM11.NTx86.6.0, OKI_MC160N_Network_Scanner

;XP
[M160__32.NTx86.5.1]
%String1%=M160__32VM11.NTx86.5.1, OKI_MC160N_Network_Scanner

;2000
[M160__32]
%String1%=M160__32VM11, OKI_MC160N_Network_Scanner

;///////////////
;
;
;
;///////////////
[DestinationDirs]
ScannerDS.CopyFiles = 10,twain_32\MC160n
WIADriver.CopyFiles=11
WIA20Driver.CopyFiles=11
ResFiles.CopyFiles=11
UtlFiles.CopyFiles=16422,Okidata\OKI MC160n Scanner

;///////////////
;
;DDInstall Section
;
;///////////////
;Vista
[M160__32VM11.NTx86.6.0]
Include=sti.inf
Needs=STI.SerialSection
CopyFiles=ScannerDS.CopyFiles,WIA20Driver.CopyFiles,ResFiles.CopyFiles,UtlFiles.CopyFiles
AddReg=M160__32VM11.NTx86.6.0.AddReg,WIA20Driver.AddReg
;forWIA
PortSelect=no
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x30
DeviceData=WIA20Driver.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"

;XP
[M160__32VM11.NTx86.5.1]
Include=sti.inf
Needs=STI.SerialSection
CopyFiles=ScannerDS.CopyFiles,WIADriver.CopyFiles,ResFiles.CopyFiles,UtlFiles.CopyFiles
AddReg=M160__32VM11.NTx86.5.1.AddReg,WIADriver.AddReg
;forWIA
PortSelect=no
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x30
DeviceData=WIADriver.DeviceData
RegisterDlls=WIADriver.RegisterDlls
ICMProfiles="sRGB Color Space Profile.icm"

;2000
[M160__32VM11]
Include=sti.inf
Needs=STI.SerialSection
CopyFiles=ScannerDS.CopyFiles,ResFiles.CopyFiles,UtlFiles.CopyFiles
AddReg=M160__32VM11.AddReg

;///////////////
;
;
;
;///////////////
[M160__32VM11.NTx86.6.0.Services]
Include=sti.inf
Needs=STI.SerialSection.Services

[M160__32VM11.NTx86.5.1.Services]
Include=sti.inf
Needs=STI.SerialSection.Services

[M160__32VM11.Services]
Include=sti.inf
Needs=STI.SerialSection.Services

;///////////////
;
;
;
;///////////////
;WIA2.0
[WIA20Driver.DeviceData]
Server=local
UI Class ID={74ABEF36-5D1F-4fab-B0C1-DFFAC577D2AD}

;WIA1.0
[WIADriver.DeviceData]
Server=local
UI Class ID={077387A8-E338-4901-A917-F5D7E3B33261}

;///////////////
;
;
;
;///////////////
;Vista
[M160__32VM11.NTx86.6.0.AddReg]
HKR,,DevLoader,0,*ntkern
;HKR,,NTMPDriver,0,usbscan.sys
HKLM,System\Currentcontrolset\Services\M160__32VM11\Parameters,"MaximumTransferSize",0x10001,4096
HKLM,System\Currentcontrolset\Services\M160__32VM11\Parameters,"DebugLevel",0x10001,2

;XP
[M160__32VM11.NTx86.5.1.AddReg]
HKR,,DevLoader,0,*ntkern
;HKR,,NTMPDriver,0,usbscan.sys
HKLM,System\Currentcontrolset\Services\M160__32VM11\Parameters,"MaximumTransferSize",0x10001,4096
HKLM,System\Currentcontrolset\Services\M160__32VM11\Parameters,"DebugLevel",0x10001,2

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

;///////////////
;
;
;
;///////////////
[WIA20Driver.AddReg]
;HKR,,CreateFileName,0,AUTO
HKR,,HardwareConfig,1,1
HKR,,USDClass,,"{7C06F57D-0FA1-49d3-B3E1-A007708D379A}"
HKCR,CLSID\{7C06F57D-0FA1-49d3-B3E1-A007708D379A},,,"OKI MC160n WIA"
HKCR,CLSID\{7C06F57D-0FA1-49d3-B3E1-A007708D379A}\InProcServer32,,,%11%\M160_WDV.dll
HKCR,CLSID\{7C06F57D-0FA1-49d3-B3E1-A007708D379A}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{74ABEF36-5D1F-4fab-B0C1-DFFAC577D2AD},,,"WIA Driver UI Extension"
HKCR,CLSID\{74ABEF36-5D1F-4fab-B0C1-DFFAC577D2AD}\shellex\ErrorHandler\{662ED043-F087-4237-8593-45F6B8004A89}
HKCR,CLSID\{74ABEF36-5D1F-4fab-B0C1-DFFAC577D2AD}\shellex\PropertySheetHandlers\{E51D041E-6D0D-4358-A80A-4F3A0044A741}
HKCR,CLSID\{74ABEF36-5D1F-4fab-B0C1-DFFAC577D2AD}\shellex\WiaDialogExtensionHandlers\{6F520F63-119A-478c-97EC-CC483E2981C2}

HKCR,CLSID\{662ED043-F087-4237-8593-45F6B8004A89},,,"WIA Error Handler"
HKCR,CLSID\{662ED043-F087-4237-8593-45F6B8004A89}\InProcServer32,,,%11%\M160_WER.dll
HKCR,CLSID\{662ED043-F087-4237-8593-45F6B8004A89}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{E51D041E-6D0D-4358-A80A-4F3A0044A741},,,"WIA Shell Extension Handler"
HKCR,CLSID\{E51D041E-6D0D-4358-A80A-4F3A0044A741}\InProcServer32,,,%11%\M160_WUV.dll
HKCR,CLSID\{E51D041E-6D0D-4358-A80A-4F3A0044A741}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{6F520F63-119A-478c-97EC-CC483E2981C2},,,"WIA Dialog Extension Handler"
HKCR,CLSID\{6F520F63-119A-478c-97EC-CC483E2981C2}\InProcServer32,,,%11%\M160_WUV.dll
HKCR,CLSID\{6F520F63-119A-478c-97EC-CC483E2981C2}\InProcServer32,ThreadingModel,,"Both"
HKR,,DevLoader,0,*ntkern
HKR,,NTMPDriver,0,usbscan.sys

[WIADriver.AddReg]
HKR,,CreateFileName,0,AUTO
HKR,,HardwareConfig,1,4
HKR,,USDClass,,"{316F4544-6D94-4f4e-A501-F8F5713D2A97}"
HKCR,CLSID\{316F4544-6D94-4f4e-A501-F8F5713D2A97},,,"OKI MC160n WIA"
HKCR,CLSID\{316F4544-6D94-4f4e-A501-F8F5713D2A97}\InProcServer32,,,%11%\M160_WDX.dll
HKCR,CLSID\{316F4544-6D94-4f4e-A501-F8F5713D2A97}\InProcServer32,ThreadingModel,,Both
HKR,,DevLoader,0,*ntkern
HKR,,NTMPDriver,0,usbscan.sys
HKLM,System\Currentcontrolset\Services\M160__32VM11\Parameters,"MaximumTransferSize",0x10001,4096
HKLM,System\Currentcontrolset\Services\M160__32VM11\Parameters,"DebugLevel",0x10001,2

;///////////////
;
;
;
;///////////////
[WIADriver.RegisterDlls]
11,,M160_WUX.dll,1

;///////////////
;
; CopyFiles
;
;///////////////
[ScannerDS.CopyFiles]
M160_TDS.ds
M160_THP.chm

;Vista
[WIA20Driver.CopyFiles]
M160_WDV.dll
M160_WUV.dll
M160_WER.dll

;XP
[WIADriver.CopyFiles]
M160_WDX.dll
M160_WUX.dll

[ResFiles.CopyFiles]
M160_RES.dll
M160_STR.tbl

[UtlFiles.CopyFiles]
M160_NUT.exe
;M160_NHP.chm

[Strings]
String0="OKI"
String1="OKI MC160n Network Scanner"
String2="OKI MC160n Network Scanner Driver Disk"