[Version]
LayoutFile=layout.inf, layout1.inf, layout2.inf
Signature="$Windows NT$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Msft%
DriverVer=01/10/2002,1.00.0577.1

;============================================================================
[ControlFlags]
ExcludeFromSelect=*

;============================================================================
[DestinationDirs]
DefaultDestDir=11                                ; LDID_SYS
;DfltDS.CopyFiles=10,TWAIN_32\MiiTWAIN            ; LDID_WIN\TWAIN_32\MiiTWAIN
;DfltDS.UninstallFiles=10,TWAIN_32\MiiTWAIN       ; LDID_WIN\TWAIN_32\MiiTWAIN
;
USB.CopySys32Files=10,system32\drivers
MSMUSD5.CopyFiles=11                        ; LDID_SYS
MSMUSD6.CopyFiles=11
MSMUSD7.CopyFiles=11
SCSI.Scanner.CopySys32Files=10,system32\drivers  ; LDID_WIN\SYSTEM32\DRIVERS
SCSI.Scanner.HelpFiles=10,help                   ; LDID_WIN\help

CopyFiles.HelpFiles=10,help                      ; LDID_WIN\help
;UninstallFiles.Twain.Common=10,TWAIN_32\MIITWAIN ; LDID_WIN\TWAIN_32\MIITWAIN
;CopyFiles.Twain.Common=10,TWAIN_32\MIITWAIN      ; LDID_WIN\TWAIN_32\MIITWAIN


;============================================================================
[Manufacturer]
%Mfg%=Models

;============================================================================
[Models]
;--- ScanMaker 5800 II (USB2.0 Scanner)(08) ---
%USB\VID_05DA&PID_3008.DeviceDesc%=Lynx.Scanner,USB\VID_05DA&PID_3008

;---  4800 Scanner-ICE (Weber) (1F) ---
;%SBP2\0000D0B9&001F.DeviceDesc%=SM8700_1394,SBP2\0000D0B9&001F&CmdSetId104d8
;%USB\VID_05DA&PID_201F.DeviceDesc%=SM8700_USB,USB\VID_05DA&PID_201F

;--- 1200dpi Scanner (March) (ScanMaker 3880)(21) ---
%USB\VID_05DA&PID_3021.DeviceDesc%=Lynx.Scanner,USB\VID_05DA&PID_3021

;--- Scanner 4800dpi (SM s280) (22) ---
%USB\VID_05DA&PID_3022.DeviceDesc%=Lynx.Scanner,USB\VID_05DA&PID_3022

;--- USB1200II Scanner (ScanMaker 3860) (23) ---
%USB\VID_05DA&PID_3023.DeviceDesc%=Lynx.Scanner,USB\VID_05DA&PID_3023

;--- 4800 LL Scanner (Keel) (24) ---
%USB\VID_05DA&PID_3024.DeviceDesc%=Lynx.Scanner,USB\VID_05DA&PID_3024

;--- 4800H48U (October) (25) ---
%USB\VID_05DA&PID_3025.DeviceDesc%=Lynx.Scanner,USB\VID_05DA&PID_3025

;--- (USB2 Scanner)(0x3061) ---
%USB\VID_05DA&PID_3061.DeviceDesc%=Lynx.Scanner,USB\VID_05DA&PID_3061
;----------------------------------------------------------------------------
[MIISCSI.Scanner]
Include=    sti.inf
Needs= STI.SCSISection

SubClass=StillImage
DeviceType=1
Capabilities=3
DeviceData=MIISCSI.DeviceData
AddReg=SCSI.Scanner.AddReg
CopyFiles=MSMUSD5.CopyFiles,SCSI.Scanner.CopySys32Files,DfltDS.CopyFiles,MIISCSI.CopyFiles,SCSI.Scanner.HelpFiles
DelFiles=SCSI.Scanner.DelOldFiles
DeviceSubType=0x0101
;ICMProfiles="sRGB Color Space Profile.icm"
UninstallSection=DfltDS.UninstallFiles

[Uninstall.MIISCSI]
;DelFiles=MIISCSI.CopyFiles

[MIISCSI.Scanner.Services]
Include=    sti.inf
Needs= STI.SCSISection.Services

[MIISCSI.DeviceData]
TwainDS=%ScanWizardPro%
; 0:Flatbed, 1:Transmittive, 2:Sheetfeed
Type=0

[MIISCSI.CopyFiles]

;-------------------------------------------------------------------------------------------
[USB.Scanner]
Include=    sti.inf
Needs= STI.USBSection

SubClass=StillImage
DeviceType=1
Capabilities=3
DeviceData=DeviceData.USB
AddReg=AddReg.USB
CopyFiles=MSMUSD5.CopyFiles ;,CopyFiles.Twain.Common,CopyFiles.HelpFiles
DelFiles=DelFiles.Sys
;ICMProfiles="sRGB Color Space Profile.icm"
;UninstallSection=UninstallFiles.Twain.Common
Events=Microtek.Event.ButtonOnly
UpdateInis=STI.Scanner.AddWinIni

[USB.Scanner.Services]
Include=    sti.inf
Needs= STI.USBSection.Services

[DeviceData.USB]
TwainDS=%ScanWizard32%
Type=0

;-------------------------------------------------------------------------------------------
[SW5USB.Scanner]
Include=    sti.inf
Needs= STI.USBSection

SubClass=StillImage
DeviceType=1
Capabilities=3
DeviceData=DeviceData.SW5USB
AddReg=AddReg.USB
CopyFiles=MSMUSD5.CopyFiles ;,CopyFiles.Twain.Common,CopyFiles.HelpFiles
DelFiles=DelFiles.Sys
;ICMProfiles="sRGB Color Space Profile.icm"
;UninstallSection=UninstallFiles.Twain.Common
Events=Microtek.Event.ButtonOnly
UpdateInis=STI.Scanner.AddWinIni

[SW5USB.Scanner.Services]
Include=    sti.inf
Needs= STI.USBSection.Services

[DeviceData.SW5USB]
TwainDS=%T25ScanWizard32%
Type=0

;-------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------
[YG6U.Scanner]
Include=    sti.inf
Needs= STI.USBSection

SubClass=StillImage
DeviceType=1
Capabilities=3
DeviceData=DeviceData.SW5USB
AddReg=AddReg.USB
CopyFiles=MSMUSD5.CopyFiles ;,CopyFiles.Twain.Common,CopyFiles.HelpFiles
DelFiles=DelFiles.Sys
;ICMProfiles="sRGB Color Space Profile.icm"
;UninstallSection=UninstallFiles.Twain.Common
Events=Microtek.Events.CopyScanMail
UpdateInis=STI.Scanner.AddWinIni

[YG6U.Scanner.Services]
Include=    sti.inf
Needs= STI.USBSection.Services

[DeviceData.YG6U]
TwainDS=%T25ScanWizard32%
Type=0

;-------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------
[YG12U.Scanner]
Include=    sti.inf
Needs= STI.USBSection

SubClass=StillImage
DeviceType=1
Capabilities=3
DeviceData=DeviceData.SW5USB
AddReg=AddReg.USB
CopyFiles=MSMUSD5.CopyFiles ;,CopyFiles.Twain.Common,CopyFiles.HelpFiles
DelFiles=DelFiles.Sys
;ICMProfiles="sRGB Color Space Profile.icm"
;UninstallSection=UninstallFiles.Twain.Common
Events=Microtek.Events.FiveButton
UpdateInis=STI.Scanner.AddWinIni

[YG12U.Scanner.Services]
Include=    sti.inf
Needs= STI.USBSection.Services

[DeviceData.YG12U]
TwainDS=%T25ScanWizard32%
Type=0
;-------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------
[SM4600.Scanner]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
Capabilities=3
Events=Microtek.Events.CopyScanMail
DeviceData=VIRGO.DeviceData
AddReg=USBSCAN6.AddReg
CopyFiles=MSMUSD6.CopyFiles,MIISCAN.CopySys32Files
DeviceSubType=0x0101
;ICMProfiles="sRGB Color Space Profile.icm"
UpdateInis=STI.Scanner.AddWinIni

[SM4600.Scanner.Services]
Include= sti.inf
Needs= STI.USBSection.Services
;-------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------
[SM5600.Scanner]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x0101
Capabilities=0x03
Events=Microtek.Events.SECOT
DeviceData=VIRGO.DeviceData
AddReg=USBSCAN5.AddReg
CopyFiles=MSMUSD5.CopyFiles,USB.CopySys32Files
UpdateInis=STI.Scanner.AddWinIni
;ICMProfiles="sRGB Color Space Profile.icm"

[SM5600.Scanner.Services]
Include= sti.inf
Needs= STI.USBSection.Services
;-------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------
[SM5700_USB]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x0101
Capabilities=3
Events=Microtek.Events.SECOT
DeviceData=VIRGO.DeviceData
AddReg=USB.Scanner.AddReg
CopyFiles=MSMUSD5.CopyFiles,USB.CopySys32Files
UpdateInis=STI.Scanner.AddWinIni
;ICMProfiles="sRGB Color Space Profile.icm"

[SM5700_USB.Services]
Include=    sti.inf
Needs= STI.USBSection.Services
;-------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------
[SM5700_1394]
Include=sti.inf
Needs=STI.SCSISection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x0101
Capabilities=3
Events=Microtek.Events.SECOT
DeviceData=SM5700_1394.DeviceData
AddReg=1394.Scanner.AddReg
CopyFiles=MSMUSD5.CopyFiles
UpdateInis=STI.Scanner.AddWinIni
;ICMProfiles="sRGB Color Space Profile.icm"

[SM5700_1394.Services]
Include=sti.inf
Needs=STI.SCSISection.Services

[SM5700_1394.DeviceData]
TwainDS=%T25ScanWizard32%
Type=0
PortType=9
;-------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------
[SM8700_USB]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x0101
Capabilities=3
DeviceData=VIRGO.DeviceData
AddReg=USB.Scanner.AddReg
CopyFiles=MSMUSD5.CopyFiles
UpdateInis=STI.Scanner.AddWinIni
;ICMProfiles="sRGB Color Space Profile.icm"

[SM8700_USB.Services]
Include=sti.inf
Needs=STI.USBSection.Services
;-------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------
[SM8700_1394]
Include=sti.inf
Needs=STI.SCSISection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x0101
Capabilities=3
DeviceData=SM5700_1394.DeviceData
AddReg=1394.Scanner.AddReg
CopyFiles=MSMUSD5.CopyFiles
UpdateInis=STI.Scanner.AddWinIni
;ICMProfiles="sRGB Color Space Profile.icm"

[SM8700_1394.Services]
Include=sti.inf
Needs=STI.SCSISection.Services
;-------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------
[SM6700_USB]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x0101
Capabilities=3
Events=Microtek.Events.SECOT
DeviceData=VIRGO.DeviceData
AddReg=USB.Scanner.AddReg
CopyFiles=MSMUSD5.CopyFiles,USB.CopySys32Files
UpdateInis=STI.Scanner.AddWinIni
;ICMProfiles="sRGB Color Space Profile.icm"

[SM6700_USB.Services]
Include=    sti.inf
Needs= STI.USBSection.Services
;-------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------
[SM6700_1394]
Include=sti.inf
Needs=STI.SCSISection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x0101
Capabilities=3
Events=Microtek.Events.SECOT
DeviceData=SM5700_1394.DeviceData
AddReg=1394.Scanner.AddReg
CopyFiles=MSMUSD5.CopyFiles
UpdateInis=STI.Scanner.AddWinIni
;ICMProfiles="sRGB Color Space Profile.icm"

[SM6700_1394.Services]
Include=    sti.inf
Needs= STI.SCSISection.Services
;-------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------
[VIRGO.Scanner]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
Capabilities=0x03
Events=Microtek.Events.SECOT
DeviceData=VIRGO.DeviceData
AddReg=USBSCAN7.AddReg
CopyFiles=MSMUSD7.CopyFiles,USB.CopySys32Files
DeviceSubType=0x0101
;ICMProfiles="sRGB Color Space Profile.icm"
UpdateInis=STI.Scanner.AddWinIni

[VIRGO.Scanner.Services]
Include= sti.inf
Needs= STI.USBSection.Services

[VIRGO.DeviceData]
TwainDS=%T25ScanWizard32%
Type=0
PortType=5

;-------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------
[Lynx.Scanner]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
Capabilities=3
Events=Microtek.Events.SECOT
DeviceData=VIRGO.DeviceData
AddReg=USBSCAN7.AddReg
CopyFiles=MSMUSD7.CopyFiles,USB.CopySys32Files
DeviceSubType=0x0101
;ICMProfiles="sRGB Color Space Profile.icm"
;UninstallSection=Uninstall.KONYA
UpdateInis=STI.Scanner.AddWinIni

[Lynx.Scanner.Services]
Include= sti.inf
Needs= STI.USBSection.Services
;-------------------------------------------------------------------------------------------
;-------------------------------------------------------------------------------------------
[DelFiles.Sys]
; Temporarily delete this file from windows\system during install so it
; doesn't conflict with new location in windows\system32
usbscan.sys,,,1

[AddReg.USB]
;stuff for still image support in memphis memphis
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%\msmusd5.dll
HKCR,CLSID\{66CFF0C0-A94B-11d1-808C-0000E816F968}\InProcServer32,ThreadingModel,,"Apartment"

[USB.Scanner.AddReg]
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%\MSMUSD5.DLL
HKCR,CLSID\{66CFF0C0-A94B-11d1-808C-0000E816F968}\InProcServer32,ThreadingModel,,"Apartment"

[USBSCAN5.AddReg]
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%\MSMUSD5.DLL
HKCR,CLSID\{66CFF0C0-A94B-11d1-808C-0000E816F968}\InProcServer32,ThreadingModel,,"Apartment"

[USBSCAN6.AddReg]
;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%\msmusd6.dll
HKCR,CLSID\{66CFF0C0-A94B-11d1-808C-0000E816F968}\InProcServer32,ThreadingModel,,"Apartment"

[USBSCAN7.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%\MSMUSD7.DLL
HKCR,CLSID\{66CFF0C0-A94B-11d1-808C-0000E816F968}\InProcServer32,ThreadingModel,,"Apartment"


[CopyFiles.Twain.Common]
LTWAIN.DS
ACQ32.DLL
MSMGR32.DLL
MPHASE32.DLL
MSSTI.DLL
DSPIMG32.DLL
MSCANDC.INI
MSAPN.INI

[CopyFiles.HelpFiles]
MCTEKTWN.CNT
MCTEKTWN.HLP

;============================================================================
[RestoreSTI]
CopyFiles=MSMUSD5.CopyFiles

[SCSI.Scanner.AddReg]
;HKR,,HardwareConfig,1,2
;
HKR,,USDClass,,"{66CFF0C0-A94B-11d1-808C-0000E816F968}"
HKCR,CLSID\{66CFF0C0-A94B-11d1-808C-0000E816F968},,,"Microtek SCSI Scanner"
HKCR,CLSID\{66CFF0C0-A94B-11d1-808C-0000E816F968}\InProcServer32,,,%11%\MSMUSD5.DLL
HKCR,CLSID\{66CFF0C0-A94B-11d1-808C-0000E816F968}\InProcServer32,ThreadingModel,,"Apartment"

[1394.Scanner.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,"SCSISCAN.SYS"
HKR,,USDClass,,"{66CFF0C0-A94B-11d1-808C-0000E816F968}"
HKCR,CLSID\{66CFF0C0-A94B-11d1-808C-0000E816F968},,,"Microtek FireWire Scanner"
HKCR,CLSID\{66CFF0C0-A94B-11d1-808C-0000E816F968}\InProcServer32,,,%11%\MSMUSD5.DLL
HKCR,CLSID\{66CFF0C0-A94B-11d1-808C-0000E816F968}\InProcServer32,ThreadingModel,,"Apartment"
;============================================================================
[DfltDS.CopyFiles]

[DfltDS.UninstallFiles]

[SCSI.Scanner.CopySys32Files]

[SCSI.Scanner.HelpFiles]

[SCSI.Scanner.DelOldFiles]

[MSMUSD5.CopyFiles]
;msmusd5.dll

[MSMUSD6.CopyFiles]
;msmusd6.dll

[MSMUSD7.CopyFiles]
;msmusd7.dll

[MIISCAN.CopySys32Files]
;MIISCAN.SYS

[USB.CopySys32Files]
;usbscan.sys

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

;============================================================================
[Microtek.Event.ButtonOnly]
Event0=%Button%,{099183A0-AEB5-11d1-B964-0000E816F968},*

[Microtek.Events]
Event0=%Button%,{099183A0-AEB5-11d1-B964-0000E816F968},*
;Event1=%ADP%,{C84D0060-BDA8-11d1-BB99-0000E816F968},*

[Microtek.Events.CopyScanMail]
Event2=%Scan%,{C84D0061-BDA8-11D1-BB99-0000E816F968},*
Event4=%Email%,{8A8CB0C0-223A-11D3-AC6A-0080C847878D},*
Event5=%Copy%,{8C37EFC0-223A-11D3-AC6A-0080C847878D},*

[Microtek.Events.FiveButton]
Event2=%Scan%,{C84D0061-BDA8-11D1-BB99-0000E816F968},*
Event3=%Set%,{885389A0-223A-11D3-AC6A-0080C847878D},*
Event4=%Email%,{8A8CB0C0-223A-11D3-AC6A-0080C847878D},*
Event5=%Copy%,{8C37EFC0-223A-11D3-AC6A-0080C847878D},*
Event6=%Cancel%,{F0C68700-B6FD-11d3-95EA-444553540000},*

[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},*
;============================================================================
[Strings]
Msft = "Microsoft"
Mfg = "Microtek"

scsiscan.SvcDesc = "SCSI Scanner Driver"
miiscan.SvcDesc = "USB Scanner Driver"

Button = "Go Button Press"
ADP    = "Auto Detect Paper"
Scan   = "Scan"
Email  = "E-Mail"
Copy   = "Copy"
Set    = "Setting"
Cancel = "Cancel"
OCR	= "OCR"
ToWeb	= "ToWeb"


ScanWizard32="Scan Module(32Bit)"
ScanWizardPro="ScanWizard Pro"
T25ScanWizard32="Microtek ScanWizard EZ"

USB\VID_05DA&PID_3008.DeviceDesc = "USB2.0 Scanner"
USB\VID_05DA&PID_3021.DeviceDesc = "1200dpi Scanner"
USB\VID_05DA&PID_3022.DeviceDesc = "Scanner 4800dpi"
USB\VID_05DA&PID_3023.DeviceDesc = "USB1200II Scanner"
USB\VID_05DA&PID_3024.DeviceDesc = "4800 LL Scanner"
USB\VID_05DA&PID_3025.DeviceDesc = "Scanner 4800H48U"
USB\VID_05DA&PID_3061.DeviceDesc = "USB2 Scanner"
