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

[Version]
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Msft%
;Catalogfile=
DriverVer=08/05/2010,6.3.7660.1

[ControlFlags]
ExcludeFromSelect=*

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


[Manufacturer]
%Mfg%=Models

[Models]
%USB\VID_04A5&PID_2319.DeviceDesc%=HW7660,USB\VID_04A5&PID_2319

[HW7660]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=1
Capabilities=3
Events=HW7660.Events
AddReg=AddReg
;DelFiles=
CopyFiles=CopyColorFiles,Copyminidriver,CopyTwainDsFiles,CopyBinFiles
;UninstallSection=Uninstall
DeviceData=HW7660.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, 0x00000002
HKR,,%Button2_GUID%, 0x00010001, 0x00000100
HKR,,%Button3_GUID%, 0x00010001, 0x00000040
HKR,,%Button4_GUID%, 0x00010001, 0x00000200
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_GUID%
HKCR,CLSID\%MiniDrv_GUID%,,,"USB User MiniDriver"
HKCR,CLSID\%MiniDrv_GUID%\InProcServer32,,,%11%\%DriverPath%\%SubDir%\Scnusd18.dll
HKCR,CLSID\%MiniDrv_GUID%\InProcServer32,ThreadingModel,,"Both"

[Copyminidriver]

[CopyBinFiles]

[CopyTwainDsFiles]

[CopyColorFiles]



[HW7660.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%

[HW7660.DeviceData]
TwainDS="HWScan V6.3(HW7660 series)"

[HW7660.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[Strings]
Msft="HanWang"
Mfg="HanWang Corporation"
TwainPath="ScanDrv6"
DriverPath="Mira6"
SubDir="HW7660"
DriverName="HWScan"
StiApPath="HWScan 6 (HW7660 series)"
Version="V6"
USB\VID_04A5&PID_2319.DeviceDesc="HW Scanner HW7660 series"  
MiniDrv_GUID="{BFB19C7D-A4F6-4751-B12D-330F993A57A7}"     
Button1_0="Text"
Button2_0="E-Mail"
Button3_0="Explorer"
Button4_0="copy"
Button5_0="Photo-editing"
Button1_GUID="{76B1B8A2-394D-11d3-86CB-08002BE4D8DC}"
Button2_GUID="{031904FB-E177-4709-AB76-A45A5BB774F1}"
Button3_GUID="{76B1B8BD-394D-11d3-86CB-08002BE4D8DC}"
Button4_GUID="{76B1B8B9-394D-11d3-86CB-08002BE4D8DC}"
Button5_GUID="{7AD6EA4C-3AAB-11d3-86CB-08002BE4D8DC}"
ScannerPath="Imaging Solutions"
DiskName="Scanner Driver"
