; CTScanner.inf  -- G&B WIA scanner setup file
; Copyright (c) 2022 G&B Corporation
; Manufacturer:  G&B
; Author: lihaixiong
;

[Version]
Signature="$WINDOWS NT$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Mfg%
DriverVer=02/15/2022,1.1.0.1
CatalogFile=CTScanner.cat

[Manufacturer]
%Mfg%=Models, NTx86, NTamd64, NTia64

[Models]
%Scanner.DeviceDescCT% = Scanner.CTScanner, USB\Vid_3308&Pid_1001&REV_0100&MI_01, USB\Vid_3308&Pid_1001&MI_01
%Scanner.DeviceDescCT% = Scanner.CTScanner, USB\Vid_0A12&Pid_BE03&REV_0100&MI_01, USB\Vid_0A12&Pid_BE03&MI_01
%Scanner.DeviceDescCT% = Scanner.CTScanner, USB\Vid_3308&Pid_1031&REV_0100&MI_01, USB\Vid_3308&Pid_1031&MI_01

[Models.NTx86]
%Scanner.DeviceDescCT% = Scanner.CTScanner, USB\Vid_3308&Pid_1001&REV_0100&MI_01, USB\Vid_3308&Pid_1001&MI_01
%Scanner.DeviceDescCT% = Scanner.CTScanner, USB\Vid_0A12&Pid_BE03&REV_0100&MI_01, USB\Vid_0A12&Pid_BE03&MI_01
%Scanner.DeviceDescCT% = Scanner.CTScanner, USB\Vid_3308&Pid_1031&REV_0100&MI_01, USB\Vid_3308&Pid_1031&MI_01

[Models.NTamd64]
%Scanner.DeviceDescCT% = Scanner.CTScanner, USB\Vid_3308&Pid_1001&REV_0100&MI_01, USB\Vid_3308&Pid_1001&MI_01
%Scanner.DeviceDescCT% = Scanner.CTScanner, USB\Vid_0A12&Pid_BE03&REV_0100&MI_01, USB\Vid_0A12&Pid_BE03&MI_01
%Scanner.DeviceDescCT% = Scanner.CTScanner, USB\Vid_3308&Pid_1031&REV_0100&MI_01, USB\Vid_3308&Pid_1031&MI_01

[Models.NTia64]
%Scanner.DeviceDescCT% = Scanner.CTScanner, USB\Vid_3308&Pid_1001&REV_0100&MI_01, USB\Vid_3308&Pid_1001&MI_01
%Scanner.DeviceDescCT% = Scanner.CTScanner, USB\Vid_0A12&Pid_BE03&REV_0100&MI_01, USB\Vid_0A12&Pid_BE03&MI_01
%Scanner.DeviceDescCT% = Scanner.CTScanner, USB\Vid_3308&Pid_1031&REV_0100&MI_01, USB\Vid_3308&Pid_1031&MI_01

[Scanner.CTScanner]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x31
Events=Scanner.Events
DeviceData=Scanner.CTDeviceData
AddReg=Scanner.AddReg
CopyFiles=Scanner.CopyFiles
ICMProfiles="sRGB Color Space Profile.icm"


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


[Scanner.Events]
ScanButton=%ScanButton.Desc%,{A6C5A715-8C6E-11d2-977A-0000F87A926F},*
CopyButton=%CopyButton.Desc%,{B441F425-8C6E-11d2-977A-0000F87A926F},*
FaxButton=%FaxButton.Desc%,{C00EB793-8C6E-11d2-977A-0000F87A926F},*

[Scanner.CTDeviceData]
Server=local


[Scanner.AddReg]
HKR,,HardwareConfig,1,1
HKR,,USDClass,,"{98B3790C-0D93-4f22-ADAF-51A45B33C998}"
HKCR,CLSID\{98B3790C-0D93-4f22-ADAF-51A45B33C998},,,"CT WIA Driver"
HKCR,CLSID\{98B3790C-0D93-4f22-ADAF-51A45B33C998}\InProcServer32,,,%11%\CTScanner.dll
HKCR,CLSID\{98B3790C-0D93-4f22-ADAF-51A45B33C998}\InProcServer32,ThreadingModel,,Both


[DestinationDirs]
; By default, files will be copied to \windows\system32.
DefaultDestDir=11

[Scanner.CopyFiles]
CTScanner.dll

[SourceDisksFiles.x86]
CTScanner.dll=1
[SourceDisksFiles.amd64]
CTScanner.dll=1
[SourceDisksFiles.ia64]
CTScanner.dll=1

[SourceDisksNames.x86]
1=%Location%,,,"i386"
[SourceDisksNames.amd64]
1=%Location%,,,"amd64"
[SourceDisksNames.ia64]
1=%Location%,,,"amd64"


[Strings]
Mfg="G&B"
Scanner.DeviceDescCT="G&B Scanner"
ScanButton.Desc="Scan Button"
CopyButton.Desc="Copy Button"
FaxButton.Desc="Fax Button"
Location="Install Source"

