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

[DestinationDirs]
DefaultDestDir=11
WINDIR.Driver=10
CopySys32.Files=10,SYSTEM32\DRIVERS
Savepath.Image=30,DSL8160
TWAIN.Driver=10,TWAIN_32\Avision\DSL8160
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_2A97

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

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

[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"
RegisterDlls=Scanner.NT.RegisterDlls
UnRegisterDlls=Scanner.NT.RegisterDlls

[Scanner.USB.DeviceData]
TwainDS="DSL8160"
Server=local
UI Class ID={4DB1AD10-3391-11D2-9A33-00C04FA36145}
ISISDriverName=DSL8160.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\DSL8160\DSL8160.dll
HKR,,USDClass,,"{D68317E9-881C-4B15-8D50-33D76FFCAF0A}"
HKCR,CLSID\{D68317E9-881C-4B15-8D50-33D76FFCAF0A},,,"Avision Scanner"
HKCR,CLSID\{D68317E9-881C-4B15-8D50-33D76FFCAF0A}\InProcServer32,,,%11%\DSL8160.cpl
HKCR,CLSID\{D68317E9-881C-4B15-8D50-33D76FFCAF0A}\InProcServer32,ThreadingModel,,"Both"
HKLM,%reg_TWAIN_path%,"SAVEPATH",0x00000000,%30%\DSL8160"\"
HKLM,%reg_TWAIN_path%,"DSLOC",0x00000000,%10%\TWAIN_32\Avision\DSL8160\scanner.ini
HKLM,%reg_TWAIN_path%,"TWAINPATH",0x00000000,%10%\TWAIN_32\Avision\DSL8160"\"
HKLM,%reg_TWAIN_path%,"CMATCHINI",0x00000000,%10%\TWAIN_32\Avision\DSL8160\cmatch.ini
HKLM,%reg_TWAIN_path%,"UILOC",0x00000000,%10%\TWAIN_32\Avision\DSL8160\advui.ini


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


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

[WINDIR.Driver]
Cm3.ini

[Scanner.ICC]
AV122_C2.icc

[Button.Manager]
;for Button Manager

[Savepath.Image]
Apsetup.ini
Avscan32.ini

[DefaultDestDir]
DSL8160.cpl
;for Button Manager

[SourceDisksNames]
1="DSL8160",,,

[SourceDisksFiles]
scanner.ini=1
Advui.ini=1
DSL8160.ds=1
Advance.dll=1
Apsetup.ini=1
DSL8160.cpl=1
AV122_C2.icc=1
Avbmp32n.dll=1
DSL8160.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 = "DSL8160"
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_BM_path = "Software\Scanner\Button Manager"
reg_BM_SCAN_path = "Software\Scanner\Button Manager\Scan"
reg_TWAIN_path = "Software\AjaxData\TWAIN"
reg_StillImage_path="Software\Microsoft\Windows\CurrentVersion\StillImage\Registered Applications"
