[Version]
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f};{4F3D6141-6EFB-45d8-AF03-F963F0C6E41B}
Provider=%Company%
CatalogFile=AVA6G.cat
DriverVer=06/28/2018,6.2.0.0

[ControlFlags]
; Remove comment from this line if all devices are PnP.
ExcludeFromSelect=*

[Manufacturer]
%Company%=Models,ntamd64,ntia64

[Models.ntia64]
%ProductDisplay% = Scanner.USB,USB\VID_0638&PID_0A7E
%ProductDisplay% = Scanner.USB,USB\VID_0638&PID_0A22
%ProductDisplay% = Scanner.USB,USB\VID_0638&PID_0A37
 
[Models.ntamd64]
%ProductDisplay% = Scanner.USB,USB\VID_0638&PID_0A7E
%ProductDisplay% = Scanner.USB,USB\VID_0638&PID_0A22
%ProductDisplay% = Scanner.USB,USB\VID_0638&PID_0A37

[Models]
%ProductDisplay% = Scanner.USB,USB\VID_0638&PID_0A7E
%ProductDisplay% = Scanner.USB,USB\VID_0638&PID_0A22
%ProductDisplay% = Scanner.USB,USB\VID_0638&PID_0A37

[Scanner.USB]
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x03
Events=Scanner.USB.Events
AddReg=Scanner.USB.AddReg
DeviceData=Scanner.USB.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"

; Win2000 model section
[Scanner.USB.NT]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x03
Events=Scanner.USB.Events
DeviceData=Scanner.USB.DeviceData
AddReg=Scanner.USB.AddReg
ICMProfiles="sRGB Color Space Profile.icm"

[Scanner.USB.DeviceData]
TwainDS="AVA6"
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
ISISDriverName=AVA6.pxn

[Scanner.USB.NT.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[Scanner.USB.Events]
Button1Changed="Func_1",{2F596C80-76EC-11da-AAFD-0050BA1ACA6F},Scanner Button Manager
Button2Changed="Func_2",{2F596C81-76EC-11da-AAFD-0050BA1ACA6F},Scanner Button Manager
Button10Changed="Connected",{D87C0866-DD6D-11d7-AAFB-0050BA1ACA6F},Scanner Button Manager

[Scanner.USB.AddReg]
HKR,,HardwareConfig,1,4
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,"usbscan.sys"
HKR,,DRIVERPATH,,%10%\TWAIN_32\%Company%\%Product%\A6Plus.dll
HKR,,USDClass,,"{4F3D6141-6EFB-45d8-AF03-F963F0C6E41B}"
HKCR,CLSID\{4F3D6141-6EFB-45d8-AF03-F963F0C6E41B},,,"%Company% Scanner"
HKCR,CLSID\{4F3D6141-6EFB-45d8-AF03-F963F0C6E41B}\InProcServer32,,,%11%\AVA6.cpl
HKCR,CLSID\{4F3D6141-6EFB-45d8-AF03-F963F0C6E41B}\InProcServer32,ThreadingModel,,"Both"
HKLM,%reg_TWAIN_path%,"SAVEPATH",0x00000000,%16419%\%Product%"\"
HKLM,%reg_TWAIN_path%,"TWAINPATH",0x00000000,%10%\TWAIN_32\%Company%\%Product%"\"
HKLM,%reg_TWAIN_path%,"DSLOC",0x00000000,%10%\TWAIN_32\%Company%\%Product%\Scanner.ini
HKLM,%reg_TWAIN_path%,"DEBUGLEVEL",0x00010001,0

[Strings]
Company="Avision"
Product="A6"
ProductDisplay = "Avision A6"
reg_TWAIN_path = "Software\AjaxData\TWAIN"
