;
; CANON INC. Scanner driver
;
; MX870SC.INF  -- Windows Setup File for the MX870 
;               Scanner driver
; Copyright (c) CANON INC. 2009

[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=%Mfg%
CatalogFile.NTx86=MX870Sa.cat
CatalogFile.NTamd64=MX870Sb.cat
DriverVer=11/24/2009,16.0.0.25

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

[ControlFlags]
ExcludeFromSelect=*

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

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

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

[Models.NTamd64.5.1]
%CNC.DeviceDesc%=CNCInstall_XP64,USB\VID_04A9&PID_1743&MI_00

[Models.NTx86.6.0]
%CNC.DeviceDesc%=CNCInstall_XP,USB\VID_04A9&PID_1743&MI_00

[Models.NTamd64.6.0]
%CNC.DeviceDesc%=CNCInstall_XP64,USB\VID_04A9&PID_1743&MI_00

;........................................ Common section
[IJCoInfo]
OriginalInfSourcePath = %1%

;........................................ Win2000 section
[CNCInstall.NT]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
DeviceData=CNCDeviceData
AddReg=CNCUSDAddreg,CNCAddreg
CopyFiles=StiFiles,ColorFiles.NT,CNCDsFiles,CNCDsFilesUSB,CNCMediaFiles
ICMProfiles="sRGB Color Space Profile.icm"
; used for push button event
Capabilities=1
Events=PushButton.Events
DriverVer=11/24/2009,16.0.0.25

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

[CNCInstall.NT.CoInstallers]
CopyFiles = ScanCoInstaller_CopyFiles
AddReg    = ScanCoInstaller_AddReg

[ScanCoInstaller_CopyFiles]
CNC870O.dll,cncisco3.dll

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

;........................................ WinXP/Vista section
[CNCInstall_XP.NT]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
DeviceData=CNCDeviceData
AddReg=CNCUSDAddreg_XP,CNCAddreg
CopyFiles=WiaFiles,ColorFiles.NT,STIFiles_XP,CNCDsFiles,CNCDsFilesUSB,CNCMediaFiles
ICMProfiles="sRGB Color Space Profile.icm"
; used for push button event
Capabilities=0x11
Events=PushButton.Events_XP
DriverVer=11/24/2009,16.0.0.25
FriendlyName=%CNC.FriendlyName%
FeatureScore=0x7F

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

[CNCInstall_XP.NT.CoInstallers]
CopyFiles = ScanCoInstaller_CopyFiles_XP
AddReg    = ScanCoInstaller_AddReg_XP

[ScanCoInstaller_CopyFiles_XP]
CNC870O.dll,cncisco3.dll

[ScanCoInstaller_AddReg_XP]
HKR,,CoInstallers32,0x00010000, "CNC870O.dll,Coinstaller_EntryPoint"

;........................................ WinXP64/Vista64 section
[CNCInstall_XP64.NT]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
DeviceData=CNCDeviceData
AddReg=CNCUSDAddreg_XP,CNCAddreg
CopyFiles=WiaFiles_XP64,ColorFiles.NT,STIFiles_XP64,CNCDsFiles,CNCDsFilesUSB,CNCDsFiles_XP64,CNCMediaFiles
ICMProfiles="sRGB Color Space Profile.icm"
; used for push button event
Capabilities=0x11
Events=PushButton.Events_XP
DriverVer=11/24/2009,16.0.0.25
FriendlyName=%CNC.FriendlyName%
FeatureScore=0x7F

[CNCInstall_XP64.NT.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[CNCInstall_XP64.NT.CoInstallers]
CopyFiles = ScanCoInstaller_CopyFiles_x64
AddReg    = ScanCoInstaller_AddReg_x64

[ScanCoInstaller_CopyFiles_x64]
CNC870O.dll,cncisco6.dll

[ScanCoInstaller_AddReg_x64]
HKR,,CoInstallers32,0x00010000, "CNC870O.dll,Coinstaller_EntryPoint"

;.......................................... Common Section
[PushButton.Events]
PushButtonPushed1=%PushButtonPushed1%,{EE21324F-2F90-4ddd-B5F2-980B2E3FE5BB},%ButtonApp%
PushButtonPushed2=%PushButtonPushed2%,{80BE00A2-CC12-4713-9D64-1E3AC4A90BAC},%ButtonApp%

[PushButton.Events_XP]
PushButtonPushed1=%PushButtonPushed1%,{EE21324F-2F90-4ddd-B5F2-980B2E3FE5BB},%ButtonApp%
PushButtonPushed2=%PushButtonPushed2%,{80BE00A2-CC12-4713-9D64-1E3AC4A90BAC},%ButtonApp%

[CNCDeviceData]
SpecialInfo=%CNC.SPInfo%
DeviceKey=%CNCRFN%
InstallDirectory="\TWAIN_32\%CNCRFN%\"
; PUSH BUTTON 1 RESOURCE ID
IDPushButton1=301
; PUSH BUTTON 2 RESOURCE ID
IDPushButton2=303

[CNCUSDAddreg]
HKR,,USDClass,,"{EB3AB5C3-9CD2-4452-8DA2-46EA8FE12F07}"
HKCR,CLSID\{EB3AB5C3-9CD2-4452-8DA2-46EA8FE12F07},,,"Canon USD"
HKCR,CLSID\{EB3AB5C3-9CD2-4452-8DA2-46EA8FE12F07}\InProcServer32,,,%11%\CNC870U.dll
HKCR,CLSID\{EB3AB5C3-9CD2-4452-8DA2-46EA8FE12F07}\InProcServer32,ThreadingModel,,"Both"
;  The above GUID is specific to MX870 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",,"%CNC.USD%"
HKLM,"%WIASGDKEY%","ButtonNum",0x00010001,2
HKLM,"%WIASGDKEY%","DspGamma",0x00010001,0
HKLM,"%WIASTIKEY%","%CNC.STI%",0x00010001,1
HKR,,USDClass,,"{EB3AB5C3-9CD2-4452-8DA2-46EA8FE12F07}"
HKCR,CLSID\{EB3AB5C3-9CD2-4452-8DA2-46EA8FE12F07},,,"Canon USD"
HKCR,CLSID\{EB3AB5C3-9CD2-4452-8DA2-46EA8FE12F07}\InProcServer32,,,%11%\CNC870C.dll
HKCR,CLSID\{EB3AB5C3-9CD2-4452-8DA2-46EA8FE12F07}\InProcServer32,ThreadingModel,,"Both"
;  The above GUID is specific to MX870 and MUST change for a different model.

[CNCAddreg]
HKLM,"%SGDKEY%","AvailableDriver",0x00014001,1
HKLM,"%SGDKEY%","ButtonNum",0x00014001,4
HKLM,"%SGDKEY%","DriverDate",0x00004000,"11 2009"
HKLM,"%SGDKEY%","DriverVersion",0x00004000,"16.0.0.25"
HKLM,"%SGDKEY%","InstallDirectory",0x00004000,"%10%\TWAIN_32\%CNCRFN%\"
HKLM,"%SGDKEY%","Manufacturer",0x00004000,"Canon Inc."
HKLM,"%SGDKEY%","ProductFamily",0x00004000,"TWAIN Scanners"
HKLM,"%SGDKEY%","ProductName",0x00004000,%CNC.MDL%

[ColorFiles.NT]
CNFRB4.ICC

[StiFiles]
CNC870U.dll
CNC870L.dll
CNHMCA.dll
CNC1743D.TBL

[WiaFiles]
CNC870C.dll
CNC870I.dll
CNC870L.dll
CNHMCA.dll
CNC1743D.TBL

[WiaFiles_XP64]
CNC870C.dll,CNC870C6.dll
CNC870I.dll,CNC870I6.dll
CNC870L.dll,CNC870L6.dll
CNHMCA6.dll
CNC1743D.TBL

[STIFiles_XP]
CNC870U.dll

[STIFiles_XP64]
CNC870U.dll
CNC870L.dll
CNHMCA.dll
CNC1743D.TBL

[CNCDsFiles]
AG.dll
BaLCo.dll
CAPS.dll
CFine2.dll
CISDS.DS
CUBS.dll
DDT.dll
FDP.dll
HSL.DLL
IJFSHLIB.dll
libBLC.dll
MC2.dll
MC2Plus.dll
RACSLIB.dll
rstcol.dll
SCNDB.dll
SCNFLW.dll
SCNIF.dll
SCNUI.dll
SCRPRMV.DLL
scrprmvl.dll
SGCFLTR.dll
softfare.dll
TDGLIB.dll
TPM.dll
usip.dll

SCNDB.DAT

SG_IMG.dll
SG_JPN.dll
SG_ENU.dll

SG_ARA.dll
SG_CHS.dll
SG_CHT.dll
SG_CSY.dll
SG_DAN.dll
SG_DEU.dll
SG_ELL.dll
SG_ESP.dll
SG_FIN.dll
SG_FRA.dll
SG_HUN.dll
SG_IND.dll
SG_ITA.dll
SG_KOR.dll
SG_NLD.dll
SG_NOR.dll
SG_PLK.dll
SG_PTB.dll
SG_RUS.dll
SG_SVE.dll
SG_THA.dll
SG_TRK.dll

CNC870.DAT
CNC870M.DAT
CNC870P.DAT
CNC870R.DAT
CNC870T.DAT

_SETSCN_.INI,SETSCN.INI

MX870SC.INI

[CNCDsFiles_XP64]
SGCFLTR6.dll

[CNCDsFilesUSB]
cncisco3.dll
cncisco6.dll

[CNCMediaFiles]
cssamp1.mid

;-------------------------------Source Index
[SourceDisksFiles]
cncisco3.dll=1
cncisco6.dll=1

CNFRB4.ICC=86

CNC870U.dll=86
CNC870C.dll=86
CNC870I.dll=86
CNC870L.dll=86
CNHMCA.dll=86
CNC1743D.TBL=86

CNC870C6.dll=64
CNC870I6.dll=64
CNC870L6.dll=64
CNHMCA6.dll=64

AG.dll=99
BaLCo.dll=99
CAPS.dll=99
CFine2.dll=99
CISDS.DS=99
CUBS.dll=99
DDT.dll=99
FDP.dll=99
HSL.DLL=99
IJFSHLIB.dll=99
libBLC.dll=99
MC2.dll=99
MC2Plus.dll=99
RACSLIB.dll=99
rstcol.dll=99
SCNDB.dll=99
SCNFLW.dll=99
SCNIF.dll=99
SCNUI.dll=99
SCRPRMV.DLL=99
scrprmvl.dll=99
SGCFLTR.dll=99
SGCFLTR6.dll=99
softfare.dll=99
TDGLIB.dll=99
TPM.dll=99
usip.dll=99

SCNDB.DAT=99

SG_IMG.dll=99
SG_JPN.dll=99
SG_ENU.dll=99

SG_ARA.dll=99
SG_CHS.dll=99
SG_CHT.dll=99
SG_CSY.dll=99
SG_DAN.dll=99
SG_DEU.dll=99
SG_ELL.dll=99
SG_ESP.dll=99
SG_FIN.dll=99
SG_FRA.dll=99
SG_HUN.dll=99
SG_IND.dll=99
SG_ITA.dll=99
SG_KOR.dll=99
SG_NLD.dll=99
SG_NOR.dll=99
SG_PLK.dll=99
SG_PTB.dll=99
SG_RUS.dll=99
SG_SVE.dll=99
SG_THA.dll=99
SG_TRK.dll=99

CNC870.DAT=99
CNC870M.DAT=99
CNC870P.DAT=99
CNC870R.DAT=99
CNC870T.DAT=99

SETSCN.INI=99
MX870SC.INI=99

cssamp1.mid=99

[SourceDisksFiles.amd64]
cncisco3.dll=1
cncisco6.dll=1

CNFRB4.ICC=86

CNC870U.dll=86
CNC870C.dll=86
CNC870I.dll=86
CNC870L.dll=86
CNHMCA.dll=86
CNC1743D.TBL=86

CNC870C6.dll=64
CNC870I6.dll=64
CNC870L6.dll=64
CNHMCA6.dll=64

AG.dll=99
BaLCo.dll=99
CAPS.dll=99
CFine2.dll=99
CISDS.DS=99
CUBS.dll=99
DDT.dll=99
FDP.dll=99
HSL.DLL=99
IJFSHLIB.dll=99
libBLC.dll=99
MC2.dll=99
MC2Plus.dll=99
RACSLIB.dll=99
rstcol.dll=99
SCNDB.dll=99
SCNFLW.dll=99
SCNIF.dll=99
SCNUI.dll=99
SCRPRMV.DLL=99
scrprmvl.dll=99
SGCFLTR.dll=99
SGCFLTR6.dll=99
softfare.dll=99
TDGLIB.dll=99
TPM.dll=99
usip.dll=99

SCNDB.DAT=99

SG_IMG.dll=99
SG_JPN.dll=99
SG_ENU.dll=99

SG_ARA.dll=99
SG_CHS.dll=99
SG_CHT.dll=99
SG_CSY.dll=99
SG_DAN.dll=99
SG_DEU.dll=99
SG_ELL.dll=99
SG_ESP.dll=99
SG_FIN.dll=99
SG_FRA.dll=99
SG_HUN.dll=99
SG_IND.dll=99
SG_ITA.dll=99
SG_KOR.dll=99
SG_NLD.dll=99
SG_NOR.dll=99
SG_PLK.dll=99
SG_PTB.dll=99
SG_RUS.dll=99
SG_SVE.dll=99
SG_THA.dll=99
SG_TRK.dll=99

CNC870.DAT=99
CNC870M.DAT=99
CNC870P.DAT=99
CNC870R.DAT=99
CNC870T.DAT=99

SETSCN.INI=99
MX870SC.INI=99

cssamp1.mid=99

[SourceDisksNames]
1=%D1%,,
86=%D1%,"SCN01.CAB",,,0x10,"MX870Sa.cat"
64=%D1%,"SCN02.CAB",,,0x10,"MX870Sa.cat"
99=%D1%,"TWAIN.CAB",,

[SourceDisksNames.amd64]
1=%D1%,,
86=%D1%,"SCN01.CAB",,,0x10,"MX870Sb.cat"
64=%D1%,"SCN02.CAB",,,0x10,"MX870Sb.cat"
99=%D1%,"TWAIN.CAB",,

;-------------------------------String Aliases
[Strings]
Mfg="Canon"
SGDKEY="Software\Canon\ScanGear\Devices\MX870 series"
WIASGDKEY="Software\Canon\WIA\Devices\MX870 series"
WIASTIKEY="Software\Canon\WIA\STI"
D1="Canon MX870 series Setup Disk"
ButtonApp        = "MP Navigator EX Ver3.1"
CNCRFN           = "MX870 series"
CNC.STI          = "MX870"
CNC.USD          = "MX870           "
CNC.MDL          = "Canon MX870 ser"
CNC.DeviceDesc   = "Canon MX870 ser"
CNC.SPInfo       = "Canon MX870 Scanner"
CNC.ColorGear    = "FRB4"
PushButtonPushed1= "Save to PC"
PushButtonPushed2= "Attach to E-mail"
CNC.FriendlyName = "WIA Canon MX870 ser"
