; Localized	
; Copyright
; Scan21.inf  --Windows Still Image Setup File

[Version]
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Msft%
Catalogfile=MS6100C.cat
DriverVer=03/24/2012,6.3.0.1

[ControlFlags]
ExcludeFromSelect=*

[DestinationDirs]
DefaultDestDir    =10
Copyminidriver2K  =11,%DriverPath%\%SubDir%
CopyminidriverXP  =11,%DriverPath%\%SubDir%
CopyminidriverXP64=11,%DriverPath%\%SubDir%
CopyTwainDsFiles  =10,Twain_32\%TwainPath%\%SubDir%
CopyColorFiles    =23
CopySoundFile	  =10,Media

[SourceDisksNames]
33=%DiskName%,,,

[SourceDisksFiles]
Scnusd21.dll=33
Scnwia21.dll=33
S64wia21.dll=33
Stiaspi.dll=33
UModel.dat=33
GL128_drv.dll=33
ApInfo.dll=33
ScanDrv.ds=33
ImgProcS.dll=33
ImgPr16S.dll=33
MapTable.dll=33
MUICtrl.dll=33
MultiLng.dll=33
MiTwain.dll=33
Scanner.dat=33
ApInfo.dat=33
dsinfo.dat=33
HWInfo.dat=33
JobInfo.dat=33
CrScan23.icm=33
warm.avi=33
Logo.bmp=33
splash.dat=33
MTFastScanF.BIN=33
scanmode.dat=33
sat121.bin=33
imgfilter.dll=33
s64imgfilter.dll=33


[Manufacturer]
%Mfg%=Standard, NT.5.1, NT.5.2, NTamd64

[Standard]; This section will only be installed by Windows 2000
%Scanner.DeviceDesc%=5560C2K,%HardwardID_SCANNER%
%Scanner.DeviceDesc%=5560C2K,%HardwardID_SCANNER2%

[Standard.NT.5.1]; This section will only be installed by Windows XP
%Scanner.DeviceDesc%=5560CXP,%HardwardID_SCANNER%
%Scanner.DeviceDesc%=5560CXP,%HardwardID_SCANNER2%

[Standard.NT.5.2]; This section will only be installed by Windows XP
%Scanner.DeviceDesc%=5560CXP,%HardwardID_SCANNER%
%Scanner.DeviceDesc%=5560CXP,%HardwardID_SCANNER2%

[Standard.NTamd64]; This is the models section for the amd64 driver
%Scanner.DeviceDesc%=5560CXP64,%HardwardID_SCANNER%
%Scanner.DeviceDesc%=5560CXP64,%HardwardID_SCANNER2%

[5560C2K]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=1
Capabilities=3
Events=5560C.Events
AddReg=AddReg2K
CopyFiles=CopyColorFiles,Copyminidriver2K,CopySoundFile,CopyTwainDsFiles
DeviceData=5560C.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"

[5560CXP]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=1
Capabilities=0x33
Events=5560C.Events
AddReg=AddRegXP
CopyFiles=CopyColorFiles,CopyminidriverXP,CopySoundFile,CopyTwainDsFiles
DeviceData=5560CXP.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"

[5560CXP64]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=1
Capabilities=0x33
Events=5560C.Events
AddReg=AddRegXP64
;DelFiles=
CopyFiles=CopyColorFiles,CopyminidriverXP64,CopyTwainDsFiles
;UninstallSection=Uninstall
DeviceData=5560CXP.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"

[AddReg2K]
HKR,,HardwareConfig,1,4
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,"usbscan.sys"
HKR,,bin,,%11%\%DriverPath%\%SubDir%
HKR,,%Button1_GUID%, 0x00010001, 0x00000040
HKR,,%Button2_GUID%, 0x00010001, 0x00000100
HKR,,%Button3_GUID%, 0x00010001, 0x00000200
HKR,,%Button4_GUID%, 0x00010001, 0x00000002
HKR,,%Button5_GUID%, 0x00010001, 0x00000001

HKCU,SOFTWARE\%ScannerPath%\ScanDrv
HKCU,SOFTWARE\%ScannerPath%\ScanDrv\%Version%
HKCU,SOFTWARE\%ScannerPath%\ScanDrv\%Version%,Name,0,%DriverName%
HKCU,SOFTWARE\%ScannerPath%\ScanDrv\%Version%,Path,0,%TwainPath%

HKR,,USDClass,,%MiniDrv_GUID2K%
HKCR,CLSID\%MiniDrv_GUID2K%,,,"USB User MiniDriver"
HKCR,CLSID\%MiniDrv_GUID2K%\InProcServer32,,,%11%\%DriverPath%\%SubDir%\Scnusd21.dll
HKCR,CLSID\%MiniDrv_GUID2K%\InProcServer32,ThreadingModel,,"Both"

[AddRegXP]
HKR,,HardwareConfig,1,1
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,"usbscan.sys"
HKR,,ASPI,,2K
HKR,,bin,,%11%\%DriverPath%\%SubDir%
HKR,,%Button1_GUID%, 0x00010001, 0x00000040
HKR,,%Button2_GUID%, 0x00010001, 0x00000100
HKR,,%Button3_GUID%, 0x00010001, 0x00000200
HKR,,%Button4_GUID%, 0x00010001, 0x00000002
HKR,,%Button5_GUID%, 0x00010001, 0x00000001

HKCU,SOFTWARE\%ScannerPath%\ScanDrv
HKCU,SOFTWARE\%ScannerPath%\ScanDrv\%Version%
HKCU,SOFTWARE\%ScannerPath%\ScanDrv\%Version%,Name,0,%DriverName%
HKCU,SOFTWARE\%ScannerPath%\ScanDrv\%Version%,Path,0,%TwainPath%

HKR,,USDClass,,%MiniDrv_GUIDXP%
HKCR,CLSID\%MiniDrv_GUIDXP%,,,"USB User MiniDriver"
HKCR,CLSID\%MiniDrv_GUIDXP%\InProcServer32,,,%11%\%DriverPath%\%SubDir%\Scnwia21.dll
HKCR,CLSID\%MiniDrv_GUIDXP%\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{C1C7C0CC-26CB-4b20-9995-551CDA10E414},,,"WIA Driver UI Extension"
HKCR,CLSID\{C1C7C0CC-26CB-4b20-9995-551CDA10E414}\shellex\ImageProcessingFilter\{79F5C05A-496A-467f-9CF3-ACBE04C69C3D}

HKCR,CLSID\{79F5C05A-496A-467f-9CF3-ACBE04C69C3D},,,"WIA Image Processing Filter"
HKCR,CLSID\{79F5C05A-496A-467f-9CF3-ACBE04C69C3D}\InProcServer32,,,%11%\%DriverPath%\%SubDir%\imgfilter.dll
HKCR,CLSID\{79F5C05A-496A-467f-9CF3-ACBE04C69C3D}\InProcServer32,ThreadingModel,,"Both"


[AddRegXP64]
HKR,,HardwareConfig,1,1
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,"usbscan.sys"
HKR,,ASPI,,2K
HKR,,bin,,%11%\%DriverPath%\%SubDir%
HKR,,%Button1_GUID%, 0x00010001, 0x00000040
HKR,,%Button2_GUID%, 0x00010001, 0x00000100
HKR,,%Button3_GUID%, 0x00010001, 0x00000200
HKR,,%Button4_GUID%, 0x00010001, 0x00000002
HKR,,%Button5_GUID%, 0x00010001, 0x00000001

HKCU,SOFTWARE\%ScannerPath%\ScanDrv
HKCU,SOFTWARE\%ScannerPath%\ScanDrv\%Version%
HKCU,SOFTWARE\%ScannerPath%\ScanDrv\%Version%,Name,0,%DriverName%
HKCU,SOFTWARE\%ScannerPath%\ScanDrv\%Version%,Path,0,%TwainPath%

HKR,,USDClass,,%MiniDrv_GUIDXP%
HKCR,CLSID\%MiniDrv_GUIDXP%,,,"USB User MiniDriver"
HKCR,CLSID\%MiniDrv_GUIDXP%\InProcServer32,,,%11%\%DriverPath%\%SubDir%\S64wia21.dll
HKCR,CLSID\%MiniDrv_GUIDXP%\InProcServer32,ThreadingModel,,"Both"


HKCR,CLSID\{C1C7C0CC-26CB-4b20-9995-551CDA10E414},,,"WIA Driver UI Extension"
HKCR,CLSID\{C1C7C0CC-26CB-4b20-9995-551CDA10E414}\shellex\ImageProcessingFilter\{79F5C05A-496A-467f-9CF3-ACBE04C69C3D}

HKCR,CLSID\{79F5C05A-496A-467f-9CF3-ACBE04C69C3D},,,"WIA Image Processing Filter"
HKCR,CLSID\{79F5C05A-496A-467f-9CF3-ACBE04C69C3D}\InProcServer32,,,%11%\%DriverPath%\%SubDir%\s64imgfilter.dll
HKCR,CLSID\{79F5C05A-496A-467f-9CF3-ACBE04C69C3D}\InProcServer32,ThreadingModel,,"Both"


[Copyminidriver2K]
Scnusd21.dll

[CopyminidriverXP]
Scnwia21.dll
imgfilter.dll

[CopyminidriverXP64]
S64wia21.dll
s64imgfilter.dll

[CopyTwainDsFiles]
MTFastScanF.BIN
ApInfo.dll
ScanDrv.ds
Stiaspi.dll
GL128_drv.dll
ImgProcS.dll
ImgPr16S.dll
MapTable.dll
MUICtrl.dll
MultiLng.dll
MiTwain.dll
Scanner.dat
ApInfo.dat
dsinfo.dat
HWInfo.dat
JobInfo.dat
Logo.bmp
splash.dat
warm.avi
scanmode.dat
sat121.bin

[CopyColorFiles]
CrScan23.icm

[CopySoundFile]

[5560C.Events]
Button1_0=%Button1_0%,%Button1_GUID%,%StiApPath%
Button2_0=%Button2_0%,%Button2_GUID%,%StiApPath%
Button3_0=%Button3_0%,%Button3_GUID%,%StiApPath%
Button4_0=%Button4_0%,%Button4_GUID%,%StiApPath%
Button5_0=%Button5_0%,%Button5_GUID%,%StiApPath%

[5560C2K.DeviceData]
TwainDS="MiraScan V6.3(Fast Scan)"

[5560C2K.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[5560CXP.DeviceData]
Server=local
UI DLL=sti.dll
UI Class ID={C1C7C0CC-26CB-4b20-9995-551CDA10E414}
ASPI="1"
TwainDS="MiraScan V6.3(Fast Scan)"

[5560CXP.Services]
Include=sti.inf
Needs=STI.USBSection.Services


[5560CXP64.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[Strings]
Msft="BenQ"
Mfg="BenQ Corporation"
TwainPath="ScanDrv6"
DriverPath="Mira6"
SubDir="FastScan"
DriverName="MiraScan"
StiApPath="MiraScan 6(Fast Scan)"
Version="V6"
HardwardID_SCANNER="USB\VID_04A5&PID_2212"
HardwardID_SCANNER2="USB\VID_05e3&PID_0103"
Scanner.DeviceDesc="BenQ Fast Scanner"
MiniDrv_GUID2K="{ACC53453-7B1B-4213-8E1F-199B3B7908E3}"  
MiniDrv_GUIDXP="{E6FCF71A-E464-4d16-A8C5-87647648D5AC}"
Button1_0="Explorer"
Button2_0="E-Mail"
Button3_0="copy"
Button4_0="Text"
Button5_0="Photo-editing"
Button1_GUID="{76B1B8BD-394D-11d3-86CB-08002BE4D8DC}"
Button2_GUID="{031904FB-E177-4709-AB76-A45A5BB774F1}"
Button3_GUID="{76B1B8B9-394D-11d3-86CB-08002BE4D8DC}"
Button4_GUID="{76B1B8A2-394D-11d3-86CB-08002BE4D8DC}"
Button5_GUID="{7AD6EA4C-3AAB-11d3-86CB-08002BE4D8DC}"
ScannerPath="Imaging Solutions"
DiskName="Scanner Driver"
