[Version]
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Provider%
;CatalogFile=A600.cat
DriverVer=11/22/2007

[DestinationDirs]
DefaultDestDir=11
WINDIR.Driver=10
CopySys32.Files=10,SYSTEM32\DRIVERS
Savepath.Image=30,A6
TWAIN.Driver=10,TWAIN_32\Avision\A6
Scanner.ICC=23

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

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

[Models.ntia64]
%USBDeviceDesc% = Scanner.USB,USB\VID_0638&PID_0A3B
%USBDeviceDesc1% = Scanner.USB,USB\VID_0638&PID_0A75
%USBDeviceDesc1% = Scanner.USB,USB\VID_0638&PID_0A7D
%USBDeviceDesc2% = Scanner.USB,USB\VID_0638&PID_0A76

[Models.ntamd64]
%USBDeviceDesc% = Scanner.USB,USB\VID_0638&PID_0A3B
%USBDeviceDesc1% = Scanner.USB,USB\VID_0638&PID_0A75
%USBDeviceDesc1% = Scanner.USB,USB\VID_0638&PID_0A7D
%USBDeviceDesc2% = Scanner.USB,USB\VID_0638&PID_0A76

[Models]
%USBDeviceDesc% = Scanner.USB,USB\VID_0638&PID_0A3B
%USBDeviceDesc1% = Scanner.USB,USB\VID_0638&PID_0A75
%USBDeviceDesc1% = Scanner.USB,USB\VID_0638&PID_0A7D
%USBDeviceDesc2% = Scanner.USB,USB\VID_0638&PID_0A76

[Scanner.USB]
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x03
Events=Scanner.USB.Events
AddReg=Scanner.USB.AddReg
;CopyFiles=CopySys32.Files,DefaultDestDir,WINDIR.Driver,Button.Manager,TWAIN.Driver,Scanner.ICC,Savepath.Image
CopyFiles=CopySys32.Files
DeviceData=Scanner.USB.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"
;PropertyPages="6000U.cpl,EnumStiPropPages"

; 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.NT
;CopyFiles=CopySys32.Files,DefaultDestDir,WINDIR.Driver,Button.Manager,TWAIN.Driver,Scanner.ICC,Savepath.Image
;CopyFiles=CopySys32.Files
ICMProfiles="sRGB Color Space Profile.icm"
;PropertyPages="6000U.cpl,EnumStiPropPages"
RegisterDlls=Scanner.NT.RegisterDlls
UnRegisterDlls=Scanner.NT.RegisterDlls

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

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

[Scanner.NT.RegisterDlls]
; New Whistler Tag:  DefaultDir,Subdir,Driver,1=DllRegisterServer,2=DLLInstall.
;11,,SetupExt.dll,2,,%DllRegString%

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

[Scanner.USB.AddReg]
HKR,,HardwareConfig,1,4
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,"usbscan.sys"
HKR,,DRIVERPATH,,%10%\TWAIN_32\Avision\A6\A6Plus.dll
HKR,,USDClass,,"{D68317E9-881C-4b15-8D50-33D76FFCAE0B}"
HKCR,CLSID\{D68317E9-881C-4b15-8D50-33D76FFCAE0B},,,"Avision Scanner"
HKCR,CLSID\{D68317E9-881C-4b15-8D50-33D76FFCAE0B}\InProcServer32,,,%11%\A600G.cpl
HKCR,CLSID\{D68317E9-881C-4b15-8D50-33D76FFCAE0B}\InProcServer32,ThreadingModel,,"Both"
HKLM,%reg_TWAIN_path%,"SAVEPATH",0x00000000,%30%\A6"\"
HKLM,%reg_TWAIN_path%,"DSLOC",0x00000000,%10%\TWAIN_32\Avision\A6\A6.ini
HKLM,%reg_TWAIN_path%,"TWAINPATH",0x00000000,%10%\TWAIN_32\Avision\A6"\"

[Scanner.USB.AddReg.NT]
HKR,,HardwareConfig,1,4
HKR,,DevLoader,,*NTKERN
HKR,,NTMPDriver,,"usbscan.sys"
HKR,,DRIVERPATH,,%10%\TWAIN_32\Avision\A6\A6Plus.dll
HKR,,USDClass,,"{D68317E9-881C-4b15-8D50-33D76FFCAE0B}"
HKCR,CLSID\{D68317E9-881C-4b15-8D50-33D76FFCAE0B},,,"Avision Scanner"
HKCR,CLSID\{D68317E9-881C-4b15-8D50-33D76FFCAE0B}\InProcServer32,,,%11%\A600G.cpl
HKCR,CLSID\{D68317E9-881C-4b15-8D50-33D76FFCAE0B}\InProcServer32,ThreadingModel,,"Apartment"
HKLM,%reg_TWAIN_path%,"SAVEPATH",0x00000000,%30%\A6"\"
HKLM,%reg_TWAIN_path%,"DSLOC",0x00000000,%10%\TWAIN_32\Avision\A6\A6.ini
HKLM,%reg_TWAIN_path%,"TWAINPATH",0x00000000,%10%\TWAIN_32\Avision\A6"\"


[CopySys32.Files]
usbscan.sys,,,20


[TWAIN.Driver]
A6.ds
A6.ini
Advance.dll
Advui.ini
Twdsm_n.dll
Avscan_n.dll
A6Plus.dll
A6Plus_G.dll
A6Plus_NG.dll
Cmatch.dll
cmatch.ini
AVglowing.dll
BBGCropDeskew.dll
AVIP.dll
xxxIP.dll
AVBlank.dll
ColorDropOut.dll
LDyIp.dll
gray_quality.dll

[WINDIR.Driver]
Cm3.ini

[Scanner.ICC]
A6.icc

[Savepath.Image]
Avload.ini
Avscan32.ini

[DefaultDestDir]
A600G.cpl

[SourceDisksNames]
1="Avision CD",,,\A600

[SourceDisksFiles]
A6.ds=1
A6.ini=1
Advance.dll=1
Advui.ini=1
Twdsm_n.dll=1
Avscan_n.dll=1
A6Plus.dll=1
A6Plus_G.dll=1
A6Plus_NG.dll=1
A600G.cpl=1
Avload.ini=1
Avscan32.ini=1
A6.icc=1
Cm3.ini=1
Cmatch.dll=1
cmatch.ini=1
AVglowing.dll=1
BBGCropDeskew.dll=1
AVIP.dll=1
xxxIP.dll=1
AVBlank.dll=1
ColorDropOut.dll=1
LDyIp.dll=1
gray_quality.dll=1

[Strings]
Provider="Avision"
Mfg="Avision"
USBDeviceDesc = "AVA6 Plus"
USBDeviceDesc1 = "Avision A600"
USBDeviceDesc2 = "Avision B660"
DiskName="Scanner Software CD"
Button1Changed="Func_1"
Button2Changed="Func_2"
ScannerConnected="Connected"
reg_TWAIN_path = "Software\AjaxData\TWAIN"

