; m35x0usd.inf : INF file for the Muratec MFX-35x0 scanner device
; Copyright (c) 2007 MURATA MACHINERY, LTD.
; 

[Version]
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Pvd%
CatalogFile=m35x0usd.cat
DriverVer=11/16/2012, 1.0.0.1

[ControlFlags]
ExcludeFromSelect=*

[DestinationDirs]
DefaultDestDir = 11
MFPscn.TwainFiles = 10,twain_32\%Fldr%
MFPscn.SysWow64 = 10,SysWOW64

[Manufacturer]
%Mfg%=Models, NTx86,NTamd64

[Models]
%MFPscn.DeviceDesc%=MFPscn.Install_I386,USB\VID_1144&PID_0170&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_I386,USB\VID_1144&PID_0171&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_I386,USB\VID_1144&PID_0172&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_I386,USB\VID_1144&PID_0173&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_I386,USB\VID_1144&PID_0174&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_I386,USB\VID_1144&PID_0175&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_I386,USB\VID_1144&PID_0176&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_I386,USB\VID_1144&PID_0177&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_I386,USB\VID_1144&PID_0178&MI_01

[Models.NTx86]
%MFPscn.DeviceDesc%=MFPscn.Install_I386,USB\VID_1144&PID_0170&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_I386,USB\VID_1144&PID_0171&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_I386,USB\VID_1144&PID_0172&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_I386,USB\VID_1144&PID_0173&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_I386,USB\VID_1144&PID_0174&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_I386,USB\VID_1144&PID_0175&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_I386,USB\VID_1144&PID_0176&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_I386,USB\VID_1144&PID_0177&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_I386,USB\VID_1144&PID_0178&MI_01

[Models.NTamd64]
%MFPscn.DeviceDesc%=MFPscn.Install_AMD64,USB\VID_1144&PID_0170&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_AMD64,USB\VID_1144&PID_0171&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_AMD64,USB\VID_1144&PID_0172&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_AMD64,USB\VID_1144&PID_0173&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_AMD64,USB\VID_1144&PID_0174&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_AMD64,USB\VID_1144&PID_0175&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_AMD64,USB\VID_1144&PID_0176&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_AMD64,USB\VID_1144&PID_0177&MI_01
%MFPscn.DeviceDesc%=MFPscn.Install_AMD64,USB\VID_1144&PID_0178&MI_01

;----------------------------- x64
[MFPscn.Install_AMD64.NT]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x01
Capabilities=0x01
DeviceData=MFPscn.DeviceData
AddReg=MFPscn.AddRegUSD,MFPscn.AddRegDRV
CopyFiles=MFPscn.ScannerFiles,MFPscn.TwainFiles,MFPscn.SysWow64
UninstallSection=MFPscn.Uninstall
ICMProfiles="sRGB Color Space Profile.icm"

[MFPscn.Install_AMD64.NT.Services]
Include=sti.inf
Needs=STI.USBSection.Services

;----------------------------- Windows 2000/XP
[MFPscn.Install_I386.NT]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x01
Capabilities=0x01
DeviceData=MFPscn.DeviceData
AddReg=MFPscn.AddRegUSD,MFPscn.AddRegDRV
CopyFiles=MFPscn.ScannerFiles,MFPscn.TwainFiles,MFPscn.System32
UninstallSection=MFPscn.Uninstall
ICMProfiles="sRGB Color Space Profile.icm"

[MFPscn.Install_I386.NT.Services]
Include=sti.inf
Needs=STI.USBSection.Services

;----------------------------- Windows 9X
[MFPscn.Install_I386]
SubClass=StillImage
DeviceType=1
DeviceSubType=0x01
Capabilities=0x01
DeviceData=MFPscn.DeviceData
AddReg=MFPscn.AddRegUSD,MFPscn.AddRegDRV
CopyFiles=MFPscn.ScannerFiles,MFPscn.TwainFiles,MFPscn.System32
UninstallSection=MFPscn.Uninstall
ICMProfiles="sRGB Color Space Profile.icm"

;----------------------------- 
[MFPscn.DeviceData]
TwainDS=%MFPscn.TwainDS%

[MFPscn.AddRegUSD]
HKR,,HardwareConfig,1,4
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,"usbscan.sys"
;It is necessary to change the following GUID for a different model. 
HKR,,USDClass,,"{F8B8AEEE-506C-41c4-9F06-59D5459E8973}"
HKCR,CLSID\{F8B8AEEE-506C-41c4-9F06-59D5459E8973},,,%MFPscn.USDName%
HKCR,CLSID\{F8B8AEEE-506C-41c4-9F06-59D5459E8973}\InProcServer32,,,%11%\%MFPscn.USDFile%
HKCR,CLSID\{F8B8AEEE-506C-41c4-9F06-59D5459E8973}\InProcServer32,ThreadingModel,,"Both"

[MFPscn.AddRegDRV]

[MFPscn.Uninstall]
DelReg=MFPscn.AddRegUSD,MFPscn.AddRegDRV
DelFiles=MFPscn.ScannerFiles,MFPscn.TwainFiles

;----------------------------- 
[MFPscn.ScannerFiles]
m35x0usd.dll

[MFPscn.TwainFiles]
mmletwu.ds
mmletwu.lrc
mmletwu.msf

[MFPscn.System32]
mmlxpart.dll
mmlcodec.dll

[MFPscn.SysWow64]
mmlxpart.dll
mmlcodec.dll

;----------------------------- 
[SourceDisksNames.x86]
1 = %DISK%,,
2 = %DISK%,,,\i386

[SourceDisksNames.amd64]
1 = %DISK%,,
2 = %DISK%,,,\x64

[SourceDisksFiles]
m35x0usd.dll =2
mmletwu.ds   =1
mmletwu.lrc  =1
mmletwu.msf  =1
mmlxpart.dll =1
mmlcodec.dll =1

;----------------------------- 
[Strings]
Pvd  = "Muratec"
Mfg  = "Muratec"
Fldr = "MFX35x0L"
DISK = "Muratec MFX-35x0 Printer/Scanner Driver Disk"
MFPscn.DeviceDesc = "Muratec MFX-35x0 Scan"
MFPscn.TwainDS    = "Muratec MFX-35x0 Scan"
MFPscn.USDName    = "Muratec USD"
MFPscn.USDFile    = "m35x0usd.dll"
