; Localized	
; Copyright
; 2kscan09.inf  --Windows Still Image Setup File

[Version]
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Msft%
Catalogfile=MS5000.cat
DriverVer=08/06/2004,6.1.5000.06

[ControlFlags]
ExcludeFromSelect=*

[DestinationDirs]
DefaultDestDir    =10
Copyminidriver	  =11,%DriverPath%\%SubDir%
CopyTwainDsFiles  =10,Twain_32\%TwainPath%\%SubDir%
CopyBinFiles 	  =11,%DriverPath%\%SubDir%
CopyColorFiles    =23
CopySoundFile	  =10,Media

[SourceDisksNames]
33=%DiskName%,,,

[SourceDisksFiles]
Scnusd09.dll=33
Scnwia09.dll=33
Stiaspi.dll=33
UModel.dat=33
20F8V115.bin=33
MT5000F.bin=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

[Standard]; This section will only be installed by Windows 2000
%USB\VID_04A5&PID_20F8.DeviceDesc%=50002K,%HardwardID_USB\VID_04A5&PID_20F8%

[Standard.NT.5.1]; This section will only be installed by Windows XP
%USB\VID_04A5&PID_20F8.DeviceDesc%=5000XP,%HardwardID_USB\VID_04A5&PID_20F8%

[Standard.NT.5.2]; This section will only be installed by Windows XP
%USB\VID_04A5&PID_20F8.DeviceDesc%=5000XP,%HardwardID_USB\VID_04A5&PID_20F8%

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

[5000XP]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=1
Capabilities=0x13
Events=5000.Events
AddReg=AddRegXP
;DelFiles=
CopyFiles=CopyColorFiles,Copyminidriver,CopyTwainDsFiles,CopyBinFiles
;UninstallSection=Uninstall
DeviceData=5000XP.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, 0x00000040
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%\Scnusd09.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, 0x00000040
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 MiniDriverXP"
HKCR,CLSID\%MiniDrv_GUIDXP%\InProcServer32,,,%11%\%DriverPath%\%SubDir%\Scnwia09.dll
HKCR,CLSID\%MiniDrv_GUIDXP%\InProcServer32,ThreadingModel,,"Both"

[Copyminidriver]
Scnusd09.dll
Scnwia09.dll

[CopyBinFiles]
UModel.dat
20F8V115.bin

[CopyTwainDsFiles]
MT5000F.bin
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

[CopySoundFile]
;S2Print.wav
;S2Text.wav
;S2AP.wav
;S2Mail.wav
;S2File.wav

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

[50002K.DeviceData]
TwainDS="MiraScan V6.1(5000)"

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

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

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

[Strings]
Msft="BenQ"
Mfg="BenQ Corporation"
TwainPath="ScanDrv6"
DriverPath="Mira6"
SubDir="5000"
DriverName="MiraScan"
StiApPath="MiraScan 6 (5000)"
Version="V6"
USB\VID_04A5&PID_20F8.DeviceDesc="BenQ Scanner 5000"
HardwardID_USB\VID_04A5&PID_20F8="USB\VID_04A5&PID_20F8"
MiniDrv_GUID2K="{9D45D914-18C6-46ae-A4FE-F53F49E5C52E}"
MiniDrv_GUIDXP="{257C2AE1-0111-4270-A99A-88C00C1C97F4}"    
Button1_0="E-Mail"
Button2_0="Explorer"
Button3_0="copy"
Button1_GUID="{7AD6EA4C-3AAB-11d3-86CB-08002BE4D8DC}"
Button2_GUID="{76B1B8B9-394D-11d3-86CB-08002BE4D8DC}"
Button3_GUID="{76B1B8BD-394D-11d3-86CB-08002BE4D8DC}"
ScannerPath="Imaging Solutions"
DiskName="Scanner Driver"