; MiiSW34.INF  -- Windows Still Image Setup File for ArtixScan DI 1610 Scanner
; Note - this file is for Windows 98/98SE/ME/2000/XP only.
; Copyright (c) 2001 - 2004 Microtek International, Inc.

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

[ControlFlags]
ExcludeFromSelect=*

[SourceDisksNames]
168=%DiskName%,,

[SourceDisksFiles]
MSM1DW.dll=168
MSMWUD12.dll=168
miiscan.sys=168
MSMUSD5.dll=168

[DestinationDirs]
; By default, files will be copied to \windows\system.
DefaultDestDir=11
;For 98
STI98MSMUSD5.CopyFiles=11
USB_98.CopySys32Files=10,system32\drivers
SCSI_98.CopySys32Files=10,system32\drivers

;For 2000
STI_MSMUSD5.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_201D.DeviceDesc%=Polaris_USB,USB\VID_05DA&PID_201D
%SCSI\MICROTEKARTIXSCAN_DI16100.DeviceDesc%=POLARIS_SCSI,MICROTEKARTIXSCAN_DI16100
%SCSI\MICROTEKARTIXSCAN_DI16101.DeviceDesc%=POLARIS_SCSI,MICROTEKARTIXSCAN_DI16101

;For WIA
%USB\VID_05DA&PID_201D.DeviceDesc%=Polaris_USB.WIA,USB\VID_05DA&PID_201D
%SCSI\MICROTEKARTIXSCAN_DI16100.DeviceDesc%=POLARIS_SCSI.WIA,MICROTEKARTIXSCAN_DI16100
%SCSI\MICROTEKARTIXSCAN_DI16101.DeviceDesc%=POLARIS_SCSI.WIA,MICROTEKARTIXSCAN_DI16101

;For Windows XP(Whistler) or later. (NTWIA)
[Models.NT.5.1]
%USB\VID_05DA&PID_201D.DeviceDesc%=Polaris_USB.NTWIA,USB\VID_05DA&PID_201D
%SCSI\MICROTEKARTIXSCAN_DI16100.DeviceDesc%=POLARIS_SCSI.NTWIA,MICROTEKARTIXSCAN_DI16100
%SCSI\MICROTEKARTIXSCAN_DI16101.DeviceDesc%=POLARIS_SCSI.NTWIA,MICROTEKARTIXSCAN_DI16101

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

;*************************************************************************************
;            For Win98, 98SE
;*************************************************************************************
[POLARIS_SCSI]
DriverVer=09/01/2004,1.02.0003.1
SubClass=StillImage
DeviceType=1
Capabilities=3
Events=Microtek.Events.SECOT
DeviceData=POLARIS_SCSI.DeviceData
AddReg=SCSI_98.AddReg
CopyFiles=Polaris_98.CopyFiles,STI98MSMUSD5.CopyFiles,SCSI_98.CopySys32Files
DeviceSubType=0x0101
ICMProfiles="sRGB Color Space Profile.icm"
DelFiles=Polaris_98.CopyFiles
UpdateInis=STI.Scanner.AddWinIni

[POLARIS_SCSI.Services]
AddService = scsiscan, 0x00000002, scsiscan.AddService

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

[scsiscan.AddService]
DisplayName    = %scsiscan.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\scsiscan.sys
LoadOrderGroup = Base

[SCSI_98.AddReg]
;HKR,,HardwareConfig,1,2
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,"scsimap.sys,scsiscan.sys"
;
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"

[SCSI_98.CopySys32Files]
scsimap.sys
scsiscan.sys
;----------------------------------------------------------------
[Polaris_USB]
DriverVer=09/01/2004,1.02.0003.1
SubClass=StillImage
DeviceType=1
Capabilities=3
Events=Microtek.Events.SECOT
DeviceData=Polaris_98.DeviceData
AddReg=USB_98MSMUSD5.AddReg
CopyFiles=Polaris_98.CopyFiles,STI98MSMUSD5.CopyFiles,USB_98.CopySys32Files
DeviceSubType=0x0101
ICMProfiles="sRGB Color Space Profile.icm"
DelFiles=Polaris_98.CopyFiles
UpdateInis=STI.Scanner.AddWinIni

[Polaris_USB.Services]
AddService = miiscan, 0x00000002, usbScan_98.AddService

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

[usbScan_98.AddService]
DisplayName    = %usbscan.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\miiscan.sys
LoadOrderGroup = Base

[USB_98MSMUSD5.AddReg]
HKR,,HardwareConfig,1,4
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,MIISCAN.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"

[Polaris_98.CopyFiles]
;MSM1DW.dll

[STI98MSMUSD5.CopyFiles]
MSMUSD5.dll

[USB_98.CopySys32Files]
miiscan.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
;*************************************************************************************
[POLARIS_SCSI.NT]
DriverVer=09/13/2004,1.02.0003.1
Include=    sti.inf
Needs= STI.SCSISection
SubClass=StillImage
DeviceType=1
Capabilities=3
DeviceData=POLARIS_SCSI.NT.DeviceData
AddReg=SCSI_2000.AddReg
Events=Microtek.Events.SECOT
CopyFiles=Polaris.NT.CopyFiles,STI_MSMUSD5.CopyFiles,SCSI.Sys32.CopyFiles
DelFiles=Polaris.NT.CopyFiles
DeviceSubType=0x0101
;ICMProfiles="sRGB Color Space Profile.icm"
UpdateInis=STI.Scanner.AddWinIni

[POLARIS_SCSI.NT.Services]
Include=    sti.inf
Needs= STI.SCSISection.Services

[POLARIS_SCSI.NT.DeviceData]
TwainDS=%ScanWizard32%
Type=0

[SCSI_2000.AddReg]
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,"SCSISCAN.SYS"
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"

[SCSI.Sys32.CopyFiles]

;----------------------------------------------------------------------------
[Polaris_USB.NT]
DriverVer=09/13/2004,1.02.0003.1
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x0101
Capabilities=3
Events=Microtek.Events.SECOT
DeviceData=Polaris_2000.DeviceData
AddReg=USB_2000MSMUSD5.AddReg
CopyFiles=Polaris.NT.CopyFiles,STI_MSMUSD5.CopyFiles,USB_2000.CopySys32Files
ICMProfiles="sRGB Color Space Profile.icm"
DelFiles=Polaris.NT.CopyFiles
UpdateInis=STI.Scanner.AddWinIni

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

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

[USB_2000MSMUSD5.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"

[Polaris.NT.CopyFiles]


[STI_MSMUSD5.CopyFiles]
MSMUSD5.dll

[USB_2000.CopySys32Files]
;usbscan.sys

;*************************************************************************************
;            For WIA
;*************************************************************************************
[POLARIS_SCSI.WIA]
DriverVer=09/13/2004,1.02.0003.1
Include=sti.inf
Needs=STI.SCSISection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x13
Events=Event.FiveButton1
DeviceData=POLARIS_SCSI.WIA.DeviceData
AddReg=SCSI_WIA10.AddReg
CopyFiles=Polaris_WIA.CopyFiles,USD10.WIA.CopyFiles
DelFiles=Polaris_WIA.CopyFiles
ICMProfiles="sRGB Color Space Profile.icm"
UpdateInis=STI.Scanner.AddWinIni

[POLARIS_SCSI.WIA.Services]
Include=sti.inf
Needs=STI.SCSISection.Services

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

[SCSI_WIA10.AddReg]
;HKR,,DevLoader,,*NTKERN
;HKR,,NTMPDriver,,"SCSISCAN.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
;---------------------------------------------------
[Polaris_USB.WIA]
DriverVer=09/13/2004,1.02.0003.1
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x13
Events=Event.FiveButton1
DeviceData=Polaris_USB.WIA.DeviceData
AddReg=USB.WIA10.AddReg
CopyFiles=Polaris_WIA.CopyFiles,USD10.WIA.CopyFiles,USB.WIA.CopySys32Files
DelFiles=Polaris_WIA.CopyFiles
ICMProfiles="sRGB Color Space Profile.icm"
UpdateInis=STI.Scanner.AddWinIni

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

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

[Polaris_WIA.CopyFiles]
MSM1DW.dll

[USB.WIA10.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

;*************************************************************************************
;            For Windows XP NTWIA
;*************************************************************************************
[POLARIS_SCSI.NTWIA]
DriverVer=09/13/2004,1.02.0003.1
Include=sti.inf
Needs=STI.SCSISection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x13
Events=Event.FiveButton1
DeviceData=POLARIS_SCSI.WIA.DeviceData
AddReg=SCSI_WIA10.AddReg
CopyFiles=Polaris_WIA.CopyFiles,USD10.WIA.CopyFiles
;DelFiles=Polaris_WIA.CopyFiles
UninstallSection=Uninstall.Polaris_XP
ICMProfiles="sRGB Color Space Profile.icm"
UpdateInis=STI.Scanner.AddWinIni

[POLARIS_SCSI.NTWIA.Services]
Include=sti.inf
Needs=STI.SCSISection.Services
;---------------------------------------------------
[Polaris_USB.NTWIA]
DriverVer=09/13/2004,1.02.0003.1
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x13
Events=Event.FiveButton1
DeviceData=Polaris_USB.WIA.DeviceData
AddReg=USB.WIA10.AddReg
CopyFiles=Polaris_WIA.CopyFiles,USD10.WIA.CopyFiles,USB.WIA.CopySys32Files
;DelFiles=Polaris_WIA.CopyFiles
UninstallSection=Uninstall.Polaris_XP
ICMProfiles="sRGB Color Space Profile.icm"
UpdateInis=STI.Scanner.AddWinIni

[Uninstall.Polaris_XP]
DelFiles=Polaris_WIA.CopyFiles

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

[USD10.WIA.CopyFiles]
MSMWUD12.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 DI"
DiskName = "Microtek Scanning Software"

USB\VID_05DA&PID_201D.DeviceDesc="ArtixScan DI 1610 (USB)"
SCSI\MICROTEKARTIXSCAN_DI16100.DeviceDesc="ArtixScan DI 1610 (SCSI)"
SCSI\MICROTEKARTIXSCAN_DI16101.DeviceDesc="ArtixScan DI 1610 (SCSI)"
