;
; IR22SCN.INF  -- Windows Setup File for the iR1018/1022/1023 (Windows 2000,XP(x86))
; Copyright (c) CANON INC. 2006
;
; InfID: {EB2A91AF-FD2C-4423-9E59-77B3356FDAAB}
;
; Last Modified: 02-Feb-2006

[Version]
Signature="$Windows NT$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}

;  The above GUID is the class GUID for all scanners and MUST NOT change
Provider=%Msft%
CatalogFile.NTx86=IR22SCN.CAT
DriverVer=02/02/2006, 11.2.0.0

[DestinationDirs]
DefaultDestDir=11
CNCDsFiles=10,"twain_32\"%CNCRFN%
CNCMediaFiles=10,media
ColorFiles.NT=11,spool\drivers\Color

[ControlFlags]
;ExcludeFromSelect=*

[Manufacturer]
%Mfg%=Models,NTx86.5.1

[Models]
%LPTENUM\CNC.DeviceDesc%=CNCInstall,USB\VID_04A9&PID_269D&MI_00

[Models.NTx86.5.1]
%LPTENUM\CNC.DeviceDesc%=CNCInstall_XP,USB\VID_04A9&PID_269D&MI_00


;........................................ Win2000 section

[CNCInstall.NTx86]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
DeviceData=CNCDeviceData
AddReg=CNCAddreg,CNCUSDAddreg
CopyFiles=StiFiles,CNCDsFiles,ColorFiles.NT,MPScanLLD,CNCMediaFiles
UninstallSection=Uninstall.NT
ICMProfiles="sRGB Color Space Profile.icm"
; used for push button event
Capabilities=0x1
Events=PushButton.Events
DriverVer=02/02/2006, 11.2.0.0

[CNCInstall.NTx86.Services]
Include=sti.inf
Needs=STI.USBSection.Services

;........................................ WinXP section
[CNCInstall_XP.NTx86]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
DeviceData=CNCDeviceData
AddReg=CNCAddreg,CNCUSDAddreg_XP
CopyFiles=WiaFiles,CNCDsFiles,ColorFiles.NT,MPScanLLD,CNCMediaFiles
UninstallSection=Uninstall_XP.NT
ICMProfiles="sRGB Color Space Profile.icm"
; used for push button event
Capabilities=0x11
Events=PushButton.Events
DriverVer=02/02/2006, 11.2.0.0
FriendlyName=%CNC.FriendlyName%


[CNCInstall_XP.NTx86.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[CNCInstall_XP.NTx86.CoInstallers]
CopyFiles = ScanCoInstaller_CopyFiles
AddReg    = ScanCoInstaller_AddReg

[ScanCoInstaller_CopyFiles]
cncilsc.dll

[ScanCoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,"cncilsc.dll,Coinstaller_EntryPoint"

[Uninstall.NT]
DelFiles=StiFiles,CNCDsFiles,ColorFiles.NT
DelReg=CNCAddreg,CNCUSDAddreg

[Uninstall_XP.NT]
DelFiles=WiaFiles,CNCDsFiles,ColorFiles.NT
DelReg=CNCAddreg,CNCUSDAddreg_XP

;.......................................... Common Section
[PushButton.Events]
PushButtonPushed1=%PushButtonPushed1%,{F002DB38-B62D-480c-812F-D978F4986D6C},%ButtonApp%


[ColorFiles.NT]
CNZ005.ICC
CNFR00.ICC

[CNCDeviceData]
TwainDS=%CNC.TwainDS%
SpecialInfo=%CNC.SPInfo%
DeviceKey=%CNCRFN%

[CNCAddreg]
HKLM,"%SGDKEY%","DeviceName",,%CNC.MDL%
HKLM,"%SGDKEY%","SeriesName",,%CNC.SRS%
HKLM,"%SGDKEY%","Manufacturer",,"Canon Inc."
HKLM,"%SGDKEY%","ProductFamily",,"TWAIN Scanners"
HKLM,"%SGDKEY%","ProductName",,%CNC.MDL%
HKLM,"%SGDKEY%","InstallDirectory",,"%10%\TWAIN_32\%CNCRFN%\"
HKLM,"%SGDKEY%","DeviceDriver",,"SCANINTF.DLL"
HKLM,"%SGDKEY%","ProductId",,"iR1018          "
HKLM,"%SGDKEY%","DataSourcePath",,"%10%\TWAIN_32\%CNCRFN%\cisds.ds"
HKLM,"%SGDKEY%","TextEnhance",0x00010001,0
HKLM,"%SGDKEY%","AvailableDriver",0x00010001,1
HKLM,"%SGDKEY%","HiDefinitionMode",0x00010001,0
HKLM,"%SGDKEY%","AutoPreview",0x00010001,0
HKLM,"%SGDKEY%","AutoClose",0x00010001,0
HKLM,"%SGDKEY%","SavePreview",0x00010001,1
HKLM,"%SGDKEY%","DriverDate",,"02 2006"
HKLM,"%SGDKEY%","DriverVersion",,"11.2.0.0.ir01"
HKLM,"%SGDKEY%","ColorGear",,%CNC.ColorGear%
HKLM,"%SGDKEY%","ColorMatch Platen",,"CNFR00.ICC"
HKLM,"%SGDKEY%","SGIPPDEF",,"CNCFR00.DAT"
HKLM,"%SGDKEY%","Descreen",0x00010001,0
HKLM,"%SGDKEY%","Unsharp",0x00010001,3
HKLM,"%SGDKEY%","MultiLimitThreshold",0x00010001,180
HKLM,"%SGDKEY%","MultiJackUp",0x00010001,9
HKLM,"%SGDKEY%","MultiTrimJackUp",0x00010001,20
HKLM,"%SGDKEY%","CardPhotoDistThr",0x00010001,30
HKLM,"%SGDKEY%","PhotoTrimThr",0x00010001,210
HKLM,"%SGDKEY%","PhotoRThr",0x00010001,210
HKLM,"%SGDKEY%","PhotoGThr",0x00010001,210
HKLM,"%SGDKEY%","PhotoBThr",0x00010001,210
HKLM,"%SGDKEY%","CardTrimThr",0x00010001,30
HKLM,"%SGDKEY%","CardRThr",0x00010001,30
HKLM,"%SGDKEY%","CardGThr",0x00010001,30
HKLM,"%SGDKEY%","CardBThr",0x00010001,30
HKLM,"%SGDKEY%","ParWhiteBlackEth",0x00010001,5
HKLM,"%SGDKEY%","ParWhiteBlackEthDG",0x00010001,5
HKLM,"%SGDKEY%","ParWhiteBlackSth",0x00010001,35
HKLM,"%SGDKEY%","ParWhiteBlackVth",0x00010001,10
HKLM,"%SGDKEY%","ParLabelingHth",0x00010001,30
HKLM,"%SGDKEY%","ParLabelingLeft",0x00010001,1
HKLM,"%SGDKEY%","ParLabelingTop",0x00010001,1
HKLM,"%SGDKEY%","ParLabelingRight",0x00010001,1
HKLM,"%SGDKEY%","ParLabelingBottom",0x00010001,1
HKLM,"%SGDKEY%","DT_Left",,"10"
HKLM,"%SGDKEY%","DT_Top",,"0"
HKLM,"%SGDKEY%","DT_Width"	,,"1.5"
HKLM,"%SGDKEY%","DT_Length",,"4.5"
HKLM,"%SGDKEY%","DT_Border_1",,"2.5"
HKLM,"%SGDKEY%","DT_Border_2",,"3.5"
HKLM,"%SGDKEY%","DT_BkTh",,"18"
HKLM,"%SGDKEY%","DT_MinWhThr",,"15"
HKLM,"%SGDKEY%","DT_MaxWhThr",,"45"
HKLM,"%SGDKEY%","ButtonNum",0x00010001,1
HKLM,"%STIKEY%","iR1018",0x00010001,1

[CNCUSDAddreg]
HKR,,USDClass,,"{5745FF0F-71D4-441e-8A87-B3D275D590AF}"
HKCR,CLSID\{5745FF0F-71D4-441e-8A87-B3D275D590AF},,,"Canon USD"
HKCR,CLSID\{5745FF0F-71D4-441e-8A87-B3D275D590AF}\InProcServer32,,,%11%\CNCU1018.DLL
HKCR,CLSID\{5745FF0F-71D4-441e-8A87-B3D275D590AF}\InProcServer32,ThreadingModel,,"Both"
;  The above GUID is specific to iR1018/1022/1023 and MUST change for a different model.

[CNCUSDAddreg_XP]
HKLM,"%WIASGDKEY%","ColorMatch",0x00010001,1
HKLM,"%WIASGDKEY%","ColorGear",,"%CNC.ColorGear%"
HKLM,"%WIASGDKEY%","TextEnhance",0x00010001,0
HKLM,"%WIASGDKEY%","Descreen",0x00010001,0
HKLM,"%WIASGDKEY%","UnsharpMask",0x00010001,0
HKLM,"%WIASGDKEY%","HiDefinitionMode",0x00010001,0
HKLM,"%WIASGDKEY%","ProductId",,"iR1018          "
HKLM,"%WIASGDKEY%","ButtonNum",0x00010001,1
HKLM,"%WIASGDKEY%","DspGamma",0x00010001,1
HKLM,"%WIASTIKEY%","iR1018",0x00010001,1
HKR,,USDClass,,"{5745FF0F-71D4-441e-8A87-B3D275D590AF}"
HKCR,CLSID\{5745FF0F-71D4-441e-8A87-B3D275D590AF},,,"Canon USD"
HKCR,CLSID\{5745FF0F-71D4-441e-8A87-B3D275D590AF}\InProcServer32,,,%11%\CNCC1018.DLL
;HKCR,CLSID\{5745FF0F-71D4-441e-8A87-B3D275D590AF}\InProcServer32,,,%11%\CNCU1018.DLL
HKCR,CLSID\{5745FF0F-71D4-441e-8A87-B3D275D590AF}\InProcServer32,ThreadingModel,,"Both"
;  The above GUID is specific to iR1018/1022/1023 and MUST change for a different model.

[StiFiles]
CNCU1018.DLL
CNCL1018.DLL

[WiaFiles]
CNCC1018.DLL
CNCI1018.DLL
CNCL1018.DLL

[CNCDsFiles]
CISDS.DS
SGUI.DLL
SGUI_RES.DLL
IOP.DLL
ITLIB32.DLL
SCANINTF.DLL
SCRPRMV.DLL
TPM.DLL
CNCFR00.DAT
MC2.TXT
JDA_CIMG.DLL
NBS4MB.DLL
NBSCOR4M.DLL
RMSLANTC.DLL
RSTCOL.DLL
BaLCo.dll
CFine2.dll
libBLC.dll

[MPScanLLD]
CNCMFP22.INI,,,0x20
CNCLSI22.DLL,,,0x20
CNCLSD22.DLL,,,0x20
CNCLSC22.DLL,,,0x20
CNCLST22.DLL,,,0x20
CNCLSU22.DLL,,,0x20

[CNCMediaFiles]
CSSAMP1.MID

;-------------------------------Source Index
[SourceDisksFiles]
CNZ005.ICC=1
ITLIB32.DLL=1
JDA_CIMG.DLL=1
MSVCRT.DLL=1
NBS4MB.DLL=1
NBSCOR4M.DLL=1
RMSLANTC.DLL=1
RSTCOL.DLL=1
BaLCo.dll=1
CFine2.dll=1
libBLC.dll=1

CISDS.DS=1
SGUI.DLL=1
IOP.DLL=1
SCANINTF.DLL=1
SCRPRMV.DLL=1
TPM.DLL=1

SGUI_RES.DLL=1

CSSAMP1.MID=1

CNCFR00.DAT=1
CNFR00.ICC=1

MC2.TXT=1

CNCU1018.DLL=1
CNCC1018.DLL=1
CNCI1018.DLL=1
CNCL1018.DLL=1

CNCMFP22.INI=1
CNCLSI22.DLL=1
CNCLSD22.DLL=1
CNCLSC22.DLL=1
CNCLST22.DLL=1
CNCLSU22.DLL=1


CNCILSC.DLL =1
COCPYINF.DLL=1


[SourceDisksNames]
1=%D1%,scan.cab,

;-------------------------------String Aliases
[Strings]
Msft="Canon"
Mfg="Canon"
SGDKEY="Software\Canon\SateraMFP1\ScanGear\11.2\Devices\iR1018"
STIKEY="Software\Canon\SateraMFP1\ScanGear\STI"
WIASGDKEY="Software\Canon\SateraMFP1\WIA\1.2\Devices\iR1018"
WIASTIKEY="Software\Canon\SateraMFP1\WIA\STI"
D1="Canon iR1018/1022/1023 Setup Disk"
LPTENUM\CNC.DeviceDesc="Canon iR1018/1022/1023"
ButtonApp        = "iR Toolbox Ver4.9"
CNCRFN           = "iR1018"
CNC.MDL          = "Canon iR1018"
CNC.SRS          = "Canon iR1018/1022/1023"
CNC.DeviceDesc   = "Canon iR1018"
CNC.SPInfo       = "Canon iR1018 Scanner"
CNC.TwainDS      = "Canon iR1018/1022/1023"
CNC.ColorGear    = "FR00"
PushButtonPushed1= "File"
PushButtonPushed2= "PDF"
PushButtonPushed3= "Email"
PushButtonPushed4= "App."
PushButtonPushed5= "Film Preview"
CNC.FriendlyName     = "WIA Canon iR1018/1022/1023"

