;
; CANON INC. Scanner driver
;
; MP270SC.INF  -- Windows Setup File for the MP270 
;               Scanner driver
; Copyright (c) CANON INC. 2010

[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=MP270Sa.cat
CatalogFile.NTamd64=MP270Sb.cat
DriverVer=03/16/2010,15.0.4.35

[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_173B&MI_00

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

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

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

[Models.NTamd64.6.0]
%CNC.DeviceDesc%=CNCInstall_XP64,USB\VID_04A9&PID_173B&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=03/16/2010,15.0.4.35

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

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

[ScanCoInstaller_CopyFiles]
CNC270O.dll,cncisco3.dll

[ScanCoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000,"CNC270O.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=03/16/2010,15.0.4.35
FriendlyName=%CNC.FriendlyName%
FeatureScore=0x7F

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

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

[ScanCoInstaller_CopyFiles]
CNC270O.dll,cncisco3.dll

[ScanCoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "CNC270O.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=03/16/2010,15.0.4.35
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]
CNC270O.dll,cncisco6.dll

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

;.......................................... Common Section
[PushButton.Events]
PushButtonPushed1=%PushButtonPushed1%,{55631407-AC23-4c27-B71C-9C4766102DDE},%ButtonApp%

[PushButton.Events_XP]
PushButtonPushed1=%PushButtonPushed1%,{55631407-AC23-4c27-B71C-9C4766102DDE},%ButtonApp%

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

[CNCUSDAddreg]
HKR,,USDClass,,"{95359EB3-7A72-43bd-8551-B288D34DDDA0}"
HKCR,CLSID\{95359EB3-7A72-43bd-8551-B288D34DDDA0},,,"Canon USD"
HKCR,CLSID\{95359EB3-7A72-43bd-8551-B288D34DDDA0}\InProcServer32,,,%11%\CNC270U.dll
HKCR,CLSID\{95359EB3-7A72-43bd-8551-B288D34DDDA0}\InProcServer32,ThreadingModel,,"Both"
;  The above GUID is specific to MP270 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,1
HKLM,"%WIASGDKEY%","DspGamma",0x00010001,0
HKLM,"%WIASTIKEY%","%CNC.STI%",0x00010001,1
HKR,,USDClass,,"{95359EB3-7A72-43bd-8551-B288D34DDDA0}"
HKCR,CLSID\{95359EB3-7A72-43bd-8551-B288D34DDDA0},,,"Canon USD"
HKCR,CLSID\{95359EB3-7A72-43bd-8551-B288D34DDDA0}\InProcServer32,,,%11%\CNC270C.dll
HKCR,CLSID\{95359EB3-7A72-43bd-8551-B288D34DDDA0}\InProcServer32,ThreadingModel,,"Both"
;  The above GUID is specific to MP270 and MUST change for a different model.

[CNCAddreg]
HKLM,"%SGDKEY%","AvailableDriver",0x00014001,1
HKLM,"%SGDKEY%","ButtonNum",0x00014001,1
HKLM,"%SGDKEY%","DriverDate",0x00004000,"03 2010"
HKLM,"%SGDKEY%","DriverVersion",0x00004000,"15.0.4.35"
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]
CNFRAW.ICC

[StiFiles]
CNC270U.dll
CNC270L.dll
CNHMCA.dll
CNC173BD.TBL

[WiaFiles]
CNC270C.dll
CNC270I.dll
CNC270L.dll
CNHMCA.dll
CNC173BD.TBL

[WiaFiles_XP64]
CNC270C.dll,CNC270C6.dll
CNC270I.dll,CNC270I6.dll
CNC270L.dll,CNC270L6.dll
CNHMCA6.dll
CNC173BD.TBL

[StiFiles_XP]
CNC270U.dll

[STIFiles_XP64]
CNC270U.dll
CNC270L.dll
CNHMCA.dll
CNC173BD.TBL

[CNCDsFiles]
AG.dll
BaLCo.dll
CAPS.dll
CFine2.dll
CISDS.DS
CUBS.dll
DDT.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
TPM.dll
usip.dll

SCNDB.DAT

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

CNC270.DAT
CNC270M.DAT
CNC270P.DAT
CNC270R.DAT

_SETSCN_.INI,SETSCN.INI

MP270SC.INI

[CNCDsFiles_XP64]
SGCFLTR6.dll

[CNCDsFilesUSB]
cncisco3.dll
cncisco6.dll

[CNCMediaFiles]
cssamp1.mid

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

CNFRAW.ICC=86

CNC270U.dll=86
CNC270C.dll=86
CNC270I.dll=86
CNC270L.dll=86
CNHMCA.dll=86
CNC173BD.TBL=86

CNC270C6.dll=64
CNC270I6.dll=64
CNC270L6.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
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
TPM.dll=99
usip.dll=99

SCNDB.DAT=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

CNC270.DAT=99
CNC270M.DAT=99
CNC270P.DAT=99
CNC270R.DAT=99

SETSCN.INI=99
MP270SC.INI=99

cssamp1.mid=99

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

CNFRAW.ICC=86

CNC270U.dll=86
CNC270C.dll=86
CNC270I.dll=86
CNC270L.dll=86
CNHMCA.dll=86
CNC173BD.TBL=86

CNC270C6.dll=64
CNC270I6.dll=64
CNC270L6.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
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
TPM.dll=99
usip.dll=99

SCNDB.DAT=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

CNC270.DAT=99
CNC270M.DAT=99
CNC270P.DAT=99
CNC270R.DAT=99

SETSCN.INI=99
MP270SC.INI=99

cssamp1.mid=99

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

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

;-------------------------------String Aliases
[Strings]
Mfg="Canon"
SGDKEY="Software\Canon\ScanGear\Devices\MP270 series"
WIASGDKEY="Software\Canon\WIA\Devices\MP270 series"
WIASTIKEY="Software\Canon\WIA\STI"
D1="Canon MP270 series Setup Disk"
ButtonApp        = "MP Navigator EX Ver3.0"
CNCRFN           = "MP270 series"
CNC.STI          = "MP270"
CNC.USD          = "MP270           "
CNC.MDL          = "Canon MP270 ser"
CNC.DeviceDesc   = "Canon MP270 ser"
CNC.SPInfo       = "Canon MP270 Scanner"
CNC.ColorGear    = "FRAW"
PushButtonPushed1= "SCAN button"
CNC.FriendlyName = "WIA Canon MP270 ser"
