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

[Version]
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Msft%
Catalogfile=MSKT.cat
DriverVer=1/10/2008,6.3.KT.1

[ControlFlags]
ExcludeFromSelect=*

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


[SourceDisksNames]
33=%DiskName%,,,

[SourceDisksFiles]
Scnusd15.dll=33
Scnwia15.dll=33
S64wia15.dll=33
Stiaspi.dll=33
UModel.dat=33
2311C001.bin=33
MT5800F.bin=33
MT5800P.bin=33
MT5800N.bin=33
MT5800F.fcb=33
MT5800P.fcb=33
MT5800N.fcb=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
scanmode.dat=33
sat121.bin=33

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

[Standard]
%USB\VID_04A5&PID_2311.DeviceDesc%=58002K,%HardwardID_USB\VID_04A5&PID_2311%

[Standard.NT.5.1]
%USB\VID_04A5&PID_2311.DeviceDesc%=5800XP,%HardwardID_USB\VID_04A5&PID_2311%

[Standard.NT.5.2]
%USB\VID_04A5&PID_2311.DeviceDesc%=5800XP,%HardwardID_USB\VID_04A5&PID_2311%

[Standard.NTamd64]; This is the models section for the amd64 driver
%USB\VID_04A5&PID_2311.DeviceDesc%=5800XP64,%HardwardID_USB\VID_04A5&PID_2311%

[58002K]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=1
Capabilities=3
Events=5800.Events
AddReg=AddReg2K
;DelFiles=
CopyFiles=CopyColorFiles,Copyminidriver2K,CopyTwainDsFiles,CopyBinFiles
;UninstallSection=Uninstall
DeviceData=58002K.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"

[5800XP]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=1
Capabilities=0x03
Events=5800.Events
AddReg=AddRegXP
;DelFiles=
CopyFiles=CopyColorFiles,CopyminidriverXP,CopyTwainDsFiles,CopyBinFiles
;UninstallSection=Uninstall
DeviceData=5800XP.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"

[5800XP64]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=1
Capabilities=0x03
Events=5800.Events
AddReg=AddRegXP64
;DelFiles=
CopyFiles=CopyColorFiles,CopyminidriverXP64,CopyTwainDsFiles,CopyBinFiles
;UninstallSection=Uninstall
DeviceData=5800XP.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, 0x00000100
HKR,,%Button2_GUID%, 0x00010001, 0x00000002
HKR,,%Button3_GUID%, 0x00010001, 0x00000200

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%\Scnusd15.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, 0x00000100
HKR,,%Button2_GUID%, 0x00010001, 0x00000002
HKR,,%Button3_GUID%, 0x00010001, 0x00000200

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%\Scnwia15.dll
HKCR,CLSID\%MiniDrv_GUIDXP%\InProcServer32,ThreadingModel,,"Both"

[AddRegXP64]
HKR,,HardwareConfig,1,1
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,"usbscan.sys"
HKR,,ASPI,,2K
HKR,,bin,,%11%\Mira6\K&T
HKR,,%Button1_GUID%, 0x00010001, 0x00000100
HKR,,%Button2_GUID%, 0x00010001, 0x00000002
HKR,,%Button3_GUID%, 0x00010001, 0x00000200

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%\S64wia15.dll
HKCR,CLSID\%MiniDrv_GUIDXP%\InProcServer32,ThreadingModel,,"Both"

[Copyminidriver2K]
Scnusd15.dll

[CopyminidriverXP]
Scnwia15.dll

[CopyminidriverXP64]
S64wia15.dll

[CopyBinFiles]
UModel.dat
2311C001.bin

[CopyTwainDsFiles]
MT5800F.bin
MT5800P.bin
MT5800N.bin
MT5800F.fcb
MT5800P.fcb
MT5800N.fcb
ApInfo.dll
ScanDrv.ds
Stiaspi.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



[5800.Events]
Button1_0=%Button1_0%,%Button1_GUID%,%StiApPath%
Button2_0=%Button2_0%,%Button2_GUID%,%StiApPath%
Button3_0=%Button3_0%,%Button3_GUID%,%StiApPath%

[58002K.DeviceData]
TwainDS="MiraScan V6.3(K/T series)"

[58002K.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[5800XP.DeviceData]
Server=local
UI DLL=sti.dll
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
ASPI="1"
TwainDS="MiraScan V6.3(K/T series)"

[5800XP.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[5800XP64.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[Strings]
Msft="BENQ"
Mfg="BenQ Corporation"
TwainPath="ScanDrv6"
DriverPath="Mira6"
SubDir="K&T"
DriverName="MiraScan"
StiApPath="MiraScan 6 (K/T series)"
Version="V6"
USB\VID_04A5&PID_2311.DeviceDesc="BenQ Scanner K,T series"
HardwardID_USB\VID_04A5&PID_2311="USB\VID_04A5&PID_2311"
MiniDrv_GUID2K="{11A598B8-43E8-47A5-9C4C-31D266D66452}" 
MiniDrv_GUIDXP="{AFC97841-70C7-45EE-BDF1-DBD8BFEFC476}"   
Button1_0="E-Mail"
Button2_0="Text"
Button3_0="copy"
Button1_GUID="{031904FB-E177-4709-AB76-A45A5BB774F1}"
Button2_GUID="{76B1B8A2-394D-11d3-86CB-08002BE4D8DC}"
Button3_GUID="{76B1B8B9-394D-11d3-86CB-08002BE4D8DC}"
ScannerPath="Imaging Solutions"
DiskName="Scanner Driver"
