; MiiSW56.INF  -- Windows Still Image Setup File for Medi-3200 Scanners
; Note - this file is for Windows XP only.
; Copyright (c) 2002 - 2009 Microtek International, Inc.

[Version]
LayoutFile=layout.inf, layout1.inf, layout2.inf
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Mfg%
DriverVer=01/04/2005,1.02.0003.1          
CatalogFile=MiiSW56.cat

[ControlFlags]
ExcludeFromSelect=*

[SourceDisksNames]
168=%DiskName%,,

[SourceDisksFiles]
MSM5AW.dll=168
MSMWUD12.dll=168

[DestinationDirs]
; By default, files will be copied to \windows\system.
DefaultDestDir=11

;For WIA
USB.WIA.CopySys32Files=10,system32\drivers

[Manufacturer]
%Mfg%=Models, NT.5.1

[Models]


;For Windows XP(Whistler) or later. (NTWIA)
[Models.NT.5.1]
%SBP2\0000D0B9&005A.DeviceDesc%=Pavo_1394.NTWIA,SBP2\0000D0B9&005A&CmdSetId104d8
%USB\VID_05DA&PID_215A.DeviceDesc%=Pavo_USB.NTWIA,USB\VID_05DA&PID_215A

[STI.Scanner.AddWinIni]
win.ini,Microtek,,"Interface=STI",0

;*************************************************************************************
;            For WIA
;*************************************************************************************
[Pavo_USB.WIA.DeviceData]
Server=local
UI DLL=sti.dll
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
PortType=5

[Pavo_WIA.CopyFiles]
MSM5AW.dll

[SBP2.CopySys32Files]
;SBP2SCAN.SYS

[Pavo_1394.WIA.DeviceData]
Server=local
UI DLL=sti.dll
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
PortType=9

[USB.WIA.AddReg]
;HKR,,DevLoader,,*NTKERN
;HKR,,NTMPDriver,,"USBSCAN.SYS"
HKR,,USDClass,,"{66CFF0C0-A94B-11d1-808C-0000E816F968}"
HKCR,CLSID\{66CFF0C0-A94B-11d1-808C-0000E816F968},,,"Microtek STI USD Driver"
HKCR,CLSID\{66CFF0C0-A94B-11d1-808C-0000E816F968}\InProcServer32,,,%11%\MSMWUD12.dll
HKCR,CLSID\{66CFF0C0-A94B-11d1-808C-0000E816F968}\InProcServer32,ThreadingModel,,Both

[SBP2WIA.AddReg]
;HKR,,DevLoader,,*NTKERN
;HKR,,NTMPDriver,,"SCSI1394.SYS"
HKR,,USDClass,,"{66CFF0C0-A94B-11d1-808C-0000E816F968}"
HKCR,CLSID\{66CFF0C0-A94B-11d1-808C-0000E816F968},,,"Microtek STI USD Driver"
HKCR,CLSID\{66CFF0C0-A94B-11d1-808C-0000E816F968}\InProcServer32,,,%11%\MSMWUD12.dll
HKCR,CLSID\{66CFF0C0-A94B-11d1-808C-0000E816F968}\InProcServer32,ThreadingModel,,Both

;*************************************************************************************
;            For Windows XP NTWIA
;*************************************************************************************
[Pavo_USB.NTWIA]
DriverVer=01/04/2005,1.02.0003.1
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x10
;Events=Event.FiveButton1
DeviceData=Pavo_USB.WIA.DeviceData
AddReg=USB.WIA.AddReg
CopyFiles=Pavo_WIA.CopyFiles,USD.WIA.CopyFiles,USB.WIA.CopySys32Files
;DelFiles=Pavo_WIA.CopyFiles
UninstallSection=Uninstall.Pavo_XP
ICMProfiles="sRGB Color Space Profile.icm"
UpdateInis=STI.Scanner.AddWinIni

[Uninstall.Pavo_XP]
DelFiles=Pavo_WIA.CopyFiles

[Pavo_USB.NTWIA.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[Pavo_1394.NTWIA]
DriverVer=01/04/2005,1.02.0003.1
Include=sti.inf
Needs=STI.SBP2Section
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x10
;Events=Event.FiveButton1
DeviceData=Pavo_1394.WIA.DeviceData
AddReg=SBP2WIA.AddReg
CopyFiles=Pavo_WIA.CopyFiles,USD.WIA.CopyFiles,SBP2.CopySys32Files
;DelFiles=Pavo_WIA.CopyFiles
UninstallSection=Uninstall.Pavo_XP
ICMProfiles="sRGB Color Space Profile.icm"
UpdateInis=STI.Scanner.AddWinIni

[Pavo_1394.NTWIA.Services]
Include=sti.inf
Needs=STI.SBP2Section.Services

[USD.WIA.CopyFiles]
MSMWUD12.dll

[USB.WIA.CopySys32Files]
;USBSCAN.SYS

[Strings]
Msft="Microsoft"
Mfg="Microtek"

usbscan.SvcDesc = "USB Scanner Driver"
scsi1394.SvcDesc = "FireWire Scanner Driver"
ScanWizard32="Microtek ScanWizard Series"
DiskName = "Microtek Scanning Software"

SBP2\0000D0B9&005A.DeviceDesc = "M3200-Scanner (FireWire)"
USB\VID_05DA&PID_215A.DeviceDesc = "M3200-Scanner (USB)"
