; MiiSW87.inf  -- Windows Still Image Setup File for i800 Plus
; Note - this file is for Windows 98/98SE/ME/2000/XP only.
; Copyright (c) 2001 - 2011 Microtek International, Inc.

[Version]
LayoutFile=layout.inf, layout1.inf, layout2.inf
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Mfg%
DriverVer=02/20/2011,1.00.0000.0
CatalogFile=MiiSW87.cat

[ControlFlags]
ExcludeFromSelect=*

[SourceDisksNames]
168=%DiskName%,,

[SourceDisksFiles]
MSM78w.dll=168
MSMWUD23.dll=168
msmusd9.dll=168

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

;For 2000
STI_MSMUSD7.CopyFiles=11
USB_2000.CopySys32Files=10,system32\drivers
;For WIA
USB.WIA.CopySys32Files=10,system32\drivers

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

[Models]
;For 98
%USB\VID_05DA&PID_6078.DeviceDesc%=Picasso,USB\VID_05DA&PID_6078

;For WIA
%USB\VID_05DA&PID_6078.DeviceDesc%=Picasso.WIA,USB\VID_05DA&PID_6078

;For Windows XP(Whistler) or later. (NTWIA)
[Models.NT.5.1]
%USB\VID_05DA&PID_6078.DeviceDesc%=Picasso.NTWIA,USB\VID_05DA&PID_6078

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

;*************************************************************************************
;            For Win98, 98SE
;*************************************************************************************
[Picasso]
DriverVer=02/20/2011,1.00.0000.0
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
Capabilities=0x03
Events=Microtek.Events.SECOT
DeviceData=Picasso_98.DeviceData
AddReg=98USBSCANSYS7.AddReg
CopyFiles=STI98MSMUSD7.CopyFiles,98USBScan.Sys.CopyFiles,Picasso_98.CopyFiles
DeviceSubType=0x0101
ICMProfiles="sRGB Color Space Profile.icm"
DelFiles=Picasso_98.CopyFiles
UpdateInis=STI.Scanner.AddWinIni

[Picasso_98.DeviceData]
TwainDS=%ScanWizard32%
Type=0
PortType=5

[Picasso.Services]
Include= sti.inf
Needs= STI.USBSection.Services

[98USBSCANSYS7.AddReg]
HKR,,HardwareConfig,1,4
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,Usbscan.sys
HKR,,USDClass,,"{66CFF0C0-A94B-11d1-808C-0000E816F968}"
HKCR,CLSID\{66CFF0C0-A94B-11d1-808C-0000E816F968},,,"Microtek USB Scanner"
HKCR,CLSID\{66CFF0C0-A94B-11d1-808C-0000E816F968}\InProcServer32,,,%11%\MSMUSD9.dll
HKCR,CLSID\{66CFF0C0-A94B-11d1-808C-0000E816F968}\InProcServer32,ThreadingModel,,"Apartment"

[Picasso_98.CopyFiles]
MSM78w.dll

[STI98MSMUSD7.CopyFiles]
msmusd9.dll

[98USBScan.Sys.CopyFiles]
Usbscan.sys

[Microtek.Events.SECOT]
Event2=%Scan%,{C84D0061-BDA8-11D1-BB99-0000E816F968},*
Event4=%Email%,{8A8CB0C0-223A-11D3-AC6A-0080C847878D},*
Event5=%Copy%,{8C37EFC0-223A-11D3-AC6A-0080C847878D},*
Event7=%OCR%,{51C56A5B-EB5D-4951-9EC5-F977A2018207},*
Event8=%ToWeb%,{F16569AD-57AB-4485-AA4F-C0DE000AE04C},**

;*************************************************************************************
;            For Win2000
;*************************************************************************************
[Picasso.NT]
DriverVer=02/20/2011,1.00.0000.0
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
Capabilities=0x03
Events=Microtek.Events.SECOT
DeviceData=Picasso_2000.DeviceData
AddReg=USB_2000MSMUSD7.Scanner.AddReg
CopyFiles=STI_MSMUSD7.CopyFiles,USB_2000.CopySys32Files,Picasso.NT.CopyFiles
DeviceSubType=0x0101
ICMProfiles="sRGB Color Space Profile.icm"
DelFiles=Picasso.NT.CopyFiles
UpdateInis=STI.Scanner.AddWinIni

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

[Picasso_2000.DeviceData]
TwainDS=%ScanWizard32%
Type=0
PortType=5

[USB_2000MSMUSD7.Scanner.AddReg]
HKR,,HardwareConfig,1,2
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,"usbscan.sys"
HKR,,USDClass,,"{66CFF0C0-A94B-11d1-808C-0000E816F968}"
HKCR,CLSID\{66CFF0C0-A94B-11d1-808C-0000E816F968},,,"Microtek USB Scanner"
HKCR,CLSID\{66CFF0C0-A94B-11d1-808C-0000E816F968}\InProcServer32,,,%11%\MSMUSD9.dll
HKCR,CLSID\{66CFF0C0-A94B-11d1-808C-0000E816F968}\InProcServer32,ThreadingModel,,"Apartment"

[Picasso.NT.CopyFiles]
MSM78w.dll

[STI_MSMUSD7.CopyFiles]
msmusd9.dll

[USB_2000.CopySys32Files]
;usbscan.sys

;*************************************************************************************
;            For WIA
;*************************************************************************************
[Picasso.WIA]
DriverVer=02/20/2011,1.00.0000.0
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x13
Events=Event.FiveButton1
DeviceData=Picasso.WIA.DeviceData
AddReg=USB11.WIA.AddReg
CopyFiles=Picasso.WIA.CopyFiles,USD11.WIA.CopyFiles,USB.WIA.CopySys32Files
DelFiles=Picasso.WIA.CopyFiles
ICMProfiles="sRGB Color Space Profile.icm"
UpdateInis=STI.Scanner.AddWinIni

[Picasso.WIA.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[Picasso.WIA.DeviceData]
Server=local
UI DLL=sti.dll
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
; 3:SCSI, 5:USB, 9:1394
PortType=5

[Picasso.WIA.CopyFiles]
MSM78w.dll

[USB11.WIA.AddReg]
;HKR,,DevLoader,,*NTKERN
;HKR,,NTMPDriver,,"USBSCAN.SYS"
HKR,,USDClass,,"{7484B0FB-BD5E-4aab-8322-3D1DB4D27350}"
HKCR,CLSID\{7484B0FB-BD5E-4aab-8322-3D1DB4D27350},,,"Microtek STI USD Driver"
HKCR,CLSID\{7484B0FB-BD5E-4aab-8322-3D1DB4D27350}\InProcServer32,,,%11%\MSMWUD23.dll
HKCR,CLSID\{7484B0FB-BD5E-4aab-8322-3D1DB4D27350}\InProcServer32,ThreadingModel,,Both

;*************************************************************************************
;            For Windows XP NTWIA
;*************************************************************************************
[Picasso.NTWIA]
DriverVer=02/20/2011,1.00.0000.0
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x13
Events=Event.FiveButton1
DeviceData=Picasso.WIA.DeviceData
AddReg=USB11.WIA.AddReg
CopyFiles=Picasso.WIA.CopyFiles,USD11.WIA.CopyFiles,USB.WIA.CopySys32Files
;DelFiles=Picasso.WIA.CopyFiles
UninstallSection=Uninstall.Picasso_XP
ICMProfiles="sRGB Color Space Profile.icm"
UpdateInis=STI.Scanner.AddWinIni

[Uninstall.Picasso_XP]
DelFiles=Picasso.WIA.CopyFiles

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

[USD11.WIA.CopyFiles]
MSMWUD23.dll

[USB.WIA.CopySys32Files]
;USBSCAN.SYS

[Event.FiveButton1]
;Event2=%Scan%,{C84D0061-BDA8-11D1-BB99-0000E816F968},*
;Event2=%Scan%,{A6C5A715-8C6E-11d2-977A-0000F87A926F},*
;Event4=%Email%,{8A8CB0C0-223A-11D3-AC6A-0080C847878D},*
;Event5=%Copy%,{8C37EFC0-223A-11D3-AC6A-0080C847878D},*
;Event7=%OCR%,{51C56A5B-EB5D-4951-9EC5-F977A2018207},*
;Event8=%ToWeb%,{F16569AD-57AB-4485-AA4F-C0DE000AE04C},*

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

Scan   = "Scan"
Email  = "E-Mail"
Copy   = "Copy"
Set    = "Setting"
Cancel = "Cancel"
OCR    = "OCR"
ToWeb  = "To-Web"

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

USB\VID_05DA&PID_6078.DeviceDesc = "4800 ULed"
