; Localized	
; Copyright
; 98scan09.inf  --Windows Still Image Setup File

[Version]
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Msft%
;Catalogfile=
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

[Manufacturer]
%Mfg%=Models

[Models]
%USB\VID_04A5&PID_20F8.DeviceDesc%=5000,USB\VID_04A5&PID_20F8

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

[AddReg]
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_GUID%
HKCR,CLSID\%MiniDrv_GUID%,,,"USB User MiniDriver"
HKCR,CLSID\%MiniDrv_GUID%\InProcServer32,,,%11%\%DriverPath%\%SubDir%\Scnusd09.dll
HKCR,CLSID\%MiniDrv_GUID%\InProcServer32,ThreadingModel,,"Both"

[Copyminidriver]

[CopyBinFiles]

[CopyTwainDsFiles]

[CopyColorFiles]

[CopySoundFile]

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

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

[5000.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" 
MiniDrv_GUID="{9D45D914-18C6-46ae-A4FE-F53F49E5C52E}"
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"