;-----------------------------------------------------------------------------
; Copyright CANON INC. 2013
;-----------------------------------------------------------------------------

[Version]
Signature="$Windows NT$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Mfg%
CatalogFile=cnsg2_227.cat
DriverVer=09/10/2019, 2.2.7.0

[SourceDisksNames]
1=%ImgRunner.DeviceDesc%

[SourceDisksFiles]
SGIRUSD.dll=1
SGIRIFLTR.dll=1
TDS_SGIRIFLTR.dll=1
SGIREHNDLR.dll=1
SGIRCpcaCodec.dll=1
SGIRCPCA.cfg=1
EnoJBIG.dll=1
EnoJPEG4.dll=1
TDS_EnoJPEG4.dll=1
PAPER.INI=1
ExtendUI.dll=1
TDS_ExtendUI.dll=1
GPrdd.dll=1
nitcore.dll=1

[Manufacturer]
%Mfg%=Models, NTx86

[Models.NTx86]
%ImgRunner.DeviceDesc% = CSInstall, ScanGear_IR_ID

[CSInstall]
Include= sti.inf
Needs= STI.SerialSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
Capabilities=0x31
DeviceData=CSDeviceData
AddReg=CSAddReg
CopyFiles=USDFiles
UninstallSection=CSUninstall
ICMProfiles="sRGB Color Space Profile.icm"

[CSInstall.Services]
Include= sti.inf
Needs= STI.SerialSection.Services


[CSDeviceData]
Server=local
UI Class ID={45FD9534-0549-4817-AFF5-2317471B5594}

;
; Registry
;
[CSAddReg]
HKR,,HardwareConfig,1,1
HKR,,CreateFileName,,AUTO

HKR,,USDClass,,"{45FD9534-0549-4817-AFF5-2317471B5594}"

HKCR,CLSID\{45FD9534-0549-4817-AFF5-2317471B5594},,,"Canon ImageRunner USD"
HKCR,CLSID\{45FD9534-0549-4817-AFF5-2317471B5594}\InProcServer32,,,%10%\%AppDir%\SGIRUSD.dll
HKCR,CLSID\{45FD9534-0549-4817-AFF5-2317471B5594}\InProcServer32,ThreadingModel,,Both
HKCR,CLSID\{45FD9534-0549-4817-AFF5-2317471B5594}\shellex\ImageProcessingFilter\{741E708A-B3F7-4031-8391-41D662128073}
HKCR,CLSID\{45FD9534-0549-4817-AFF5-2317471B5594}\shellex\ErrorHandler\{71084C6B-17EF-46c8-96E8-E8098FBCBE80}
HKCR,CLSID\{45FD9534-0549-4817-AFF5-2317471B5594}\shellex\WiaDialogExtensionHandlers\{8BA0AB93-D72D-4824-BAAA-94743A2C2016}

HKCR,CLSID\{741E708A-B3F7-4031-8391-41D662128073},,,"Canon ImageRunner Image Processing Filter"
HKCR,CLSID\{741E708A-B3F7-4031-8391-41D662128073}\InProcServer32,,,%10%\%AppDir%\SGIRIFLTR.dll
HKCR,CLSID\{741E708A-B3F7-4031-8391-41D662128073}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{71084C6B-17EF-46c8-96E8-E8098FBCBE80},,,"Canon ImageRunner Error Handler"
HKCR,CLSID\{71084C6B-17EF-46c8-96E8-E8098FBCBE80}\InProcServer32,,,%10%\%AppDir%\SGIREHNDLR.dll
HKCR,CLSID\{71084C6B-17EF-46c8-96E8-E8098FBCBE80}\InProcServer32,ThreadingModel,,"Both"

HKCR,CLSID\{8BA0AB93-D72D-4824-BAAA-94743A2C2016},,,"ImageRunner Dialog Extension"
HKCR,CLSID\{8BA0AB93-D72D-4824-BAAA-94743A2C2016}\InprocServer32,,,%10%\%AppDir%\ExtendUI.dll
HKCR,CLSID\{8BA0AB93-D72D-4824-BAAA-94743A2C2016}\InprocServer32,ThreadingModel,,Apartment


[DestinationDirs]
USDFiles=10,%AppDir%

[USDFiles]
SGIRUSD.dll
SGIRIFLTR.dll
TDS_SGIRIFLTR.dll
SGIREHNDLR.dll
SGIRCpcaCodec.dll
SGIRCPCA.cfg
EnoJBIG.dll
EnoJPEG4.dll
TDS_EnoJPEG4.dll
PAPER.INI
ExtendUI.dll
TDS_ExtendUI.dll
GPrdd.dll
nitcore.dll

[CSUninstall]
DelFiles=USDFiles
;DelReg=CSDelReg

[CSDelReg]
HKCR,CLSID\{45FD9534-0549-4817-AFF5-2317471B5594}
HKCR,CLSID\{741E708A-B3F7-4031-8391-41D662128073}
HKCR,CLSID\{71084C6B-17EF-46c8-96E8-E8098FBCBE80}
HKCR,CLSID\{8BA0AB93-D72D-4824-BAAA-94743A2C2016}


[Strings]
Mfg="Canon Inc."
ImgRunner.DeviceDesc="Color Network ScanGear 2"
AppDir="Canon\ScanGearIR"
