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

[DestinationDirs]
DefaultDestDir=11
WINDIR.Driver=10
CopySys32.Files=10,SYSTEM32\DRIVERS
Savepath.Image=30,AI620
TWAIN.Driver=10,TWAIN_32\Avision\AI620
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_2B06
 
[Models.ntamd64]
%USBDeviceDesc% = Scanner.USB,USB\VID_0638&PID_2B06

[Models]
%USBDeviceDesc% = Scanner.USB,USB\VID_0638&PID_2B06

[Scanner.USB]
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x01
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=0x01
Events=Scanner.USB.Events
DeviceData=Scanner.USB.DeviceData
AddReg=Scanner.USB.AddReg
;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"

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

[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]
Button1Changed="%Button1Changed%",{2F596C80-76EC-11da-AAFD-0050BA1ACA6F},Scanner Button Manager
Button2Changed="%Button2Changed%",{2F596C81-76EC-11da-AAFD-0050BA1ACA6F},Scanner Button Manager
Button3Changed="%Button3Changed%",{2F596C82-76EC-11da-AAFD-0050BA1ACA6F},Scanner Button Manager
Button4Changed="%Button4Changed%",{2F596C83-76EC-11da-AAFD-0050BA1ACA6F},Scanner Button Manager
Button5Changed="%Button5Changed%",{2F596C84-76EC-11da-AAFD-0050BA1ACA6F},Scanner Button Manager
Button6Changed="%Button6Changed%",{2F596C85-76EC-11da-AAFD-0050BA1ACA6F},Scanner Button Manager
Button7Changed="%Button7Changed%",{2F596C86-76EC-11da-AAFD-0050BA1ACA6F},Scanner Button Manager
Button8Changed="%Button8Changed%",{2F596C87-76EC-11da-AAFD-0050BA1ACA6F},Scanner Button Manager
Button9Changed="%Button9Changed%",{2F596C88-76EC-11da-AAFD-0050BA1ACA6F},Scanner Button Manager
Button10Changed="%Button10Changed%",{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\Avision\AI620\AI620.dll
HKR,,USDClass,,"{D68317E9-881C-4B15-8D50-33D76FFCAEBE}"
HKCR,CLSID\{D68317E9-881C-4B15-8D50-33D76FFCAEBE},,,"Avision Scanner"
HKCR,CLSID\{D68317E9-881C-4B15-8D50-33D76FFCAEBE}\InProcServer32,,,%11%\AI620.cpl
HKCR,CLSID\{D68317E9-881C-4B15-8D50-33D76FFCAEBE}\InProcServer32,ThreadingModel,,"Both"
HKLM,%reg_TWAIN_path%,"SAVEPATH",0x00000000,%30%\AI620"\"
HKLM,%reg_TWAIN_path%,"DSLOC",0x00000000,%10%\TWAIN_32\Avision\AI620\scanner.ini
HKLM,%reg_TWAIN_path%,"TWAINPATH",0x00000000,%10%\TWAIN_32\Avision\AI620"\"
HKLM,%reg_TWAIN_path%,"CMATCHINI",0x00000000,%10%\TWAIN_32\Avision\AI620\cmatch.ini
HKLM,%reg_TWAIN_path%,"UILOC",0x00000000,%10%\TWAIN_32\Avision\AI620\advui.ini

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


[TWAIN.Driver]
AI620.ds
scanner.ini
Advance.dll
Advui.ini
AI620.icc
AVC6Driver.dll
Avscan_n.dll
cmatch.ini
Cmatch.dll
logobmp.bmp
Twdsm_n.dll

[WINDIR.Driver]
Cm3.ini

[Scanner.ICC]
AI620.icc

[Button.Manager]
;for Button Manager

[Savepath.Image]
Apsetup.ini
Avscan32.ini

[DefaultDestDir]
AI620.cpl
;for Button Manager

[SourceDisksNames]
1="AI620 CD",,,

[SourceDisksFiles]
scanner.ini=1
Advui.ini=1
AI620.ds=1
Advance.dll=1
Apsetup.ini=1
AI620.cpl=1
AI620.icc=1
Avbmp32n.dll=1
AVC6Driver.dll=1
Avscan_n.dll=1
Avscan32.ini=1
Cm3.ini=1
Cmatch.dll=1
cmatch.ini=1
Twdsm_n.dll=1

[Strings]
Provider="Avision"
Mfg="Avision"
USBDeviceDesc = "AI620"
DiskName="Scanner Software CD"
Button1Changed="Func_1"
Button2Changed="Func_2"
Button3Changed="Func_3"
Button4Changed="Func_4"
Button5Changed="Func_5"
Button6Changed="Func_6"
Button7Changed="Func_7"
Button8Changed="Func_8"
Button9Changed="Func_9"
Button10Changed="Connected"
reg_TWAIN_path = "Software\AjaxData\TWAIN"

