;
; MF38SCN.INF  -- Windows Setup File for the MF4400 Series (Windows XP,Vista, Windows 7(64-bit))
; Copyright CANON INC. 2010 All Rights Reserved
;
; InfID: {A6E884DF-735D-4835-8EB2-C5F87A7F78D3}
;
; Last Modified: 10-Sep-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=%Msft%
CatalogFile.NTamd64=MF38SCN.CAT
DriverVer=09/16/2010, 11.3.0.1

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

[ControlFlags]
;ExcludeFromSelect=*

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

[Models.NTamd64.5.1]
%LPTENUM\CNC.DeviceDesc%=CNCInstall_XP,USB\VID_04A9&PID_2737&MI_00
%LPTENUM\CNC.DeviceDesc%=CNCInstallNet_XP,CANON_MFNP&%CNCRFN%

[Models.NTamd64.6.0]
%LPTENUM\CNC.DeviceDesc%=CNCInstall_VISTA,USB\VID_04A9&PID_2737&MI_00
%LPTENUM\CNC.DeviceDesc%=CNCInstallNet_VISTA,CANON_MFNP&%CNCRFN%


;........................................ WinXP(64-bit) section
[CNCInstall_XP.NTamd64]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
DeviceData=CNCDeviceData
AddReg=CNCAddreg,CNCAddreg.USB,CNCUSDAddreg_XP
CopyFiles=WiaFiles,CNCDsFiles,ColorFiles.NT,MPScanLLD,CNCMediaFiles
ICMProfiles="sRGB Color Space Profile.icm"
; used for push button event
Capabilities=0x11
Events=PushButton.Events
DriverVer=09/16/2010, 11.3.0.1
FriendlyName=%CNC.FriendlyName%

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

[CNCInstall_XP.NTamd64.CoInstallers]
CopyFiles = ScanCoInstaller_CopyFiles_x64
AddReg    = ScanCoInstaller_AddReg_x64

[ScanCoInstaller_CopyFiles_x64]
CNCLSO38b.dll

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

;........................................ WinVista(64-bit) section
[CNCInstall_VISTA.NTamd64]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
DeviceData=CNCDeviceData_VISTA
AddReg=CNCAddreg,CNCAddreg.USB,CNCUSDAddreg_XP,CNCUSDAddreg_VISTA
CopyFiles=Wia2Files,CNCDsFiles,ColorFiles.NT,MPScanLLD,CNCMediaFiles
ICMProfiles="sRGB Color Space Profile.icm"
; used for push button event
Capabilities=0x11
Events=PushButton.Events
DriverVer=09/16/2010, 11.3.0.1
FriendlyName=%CNC.FriendlyName%

[CNCInstall_VISTA.NTamd64.Services]
Include=sti.inf
Needs=STI.USBSection.Services

[CNCInstall_VISTA.NTamd64.CoInstallers]
CopyFiles = ScanCoInstaller_CopyFiles_x64
AddReg    = ScanCoInstaller_AddReg_x64

[ScanCoInstaller_CopyFiles_x64]
CNCLSO38b.dll

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

;........................................ WinXP(64-bit) section(Network)
[CNCInstallNet_XP.NTamd64]
Include=sti.inf
Needs=STI.SerialSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
DeviceData=CNCDeviceData
AddReg=CNCAddreg,CNCUSDAddreg_XP
CopyFiles=WiaFiles,CNCDsFiles,ColorFiles.NT,MPScanLLD,CNCMediaFiles
ICMProfiles="sRGB Color Space Profile.icm"
; used for push button event
Capabilities=0x11
Events=PushButton.Events
DriverVer=09/16/2010, 11.3.0.1
FriendlyName=%CNC.FriendlyName%

[CNCInstallNet_XP.NTamd64.Services]
Include=sti.inf
Needs=STI.SerialSection.Services

[CNCInstallNet_XP.NTamd64.CoInstallers]
CopyFiles = ScanCoInstaller_CopyFiles_x64
AddReg    = ScanCoInstaller_AddReg_x64

[ScanCoInstaller_CopyFiles_x64]
CNCLSO38b.dll

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

;........................................ WinVista(64-bit) section(Network)
[CNCInstallNet_VISTA.NTamd64]
Include=sti.inf
Needs=STI.SerialSection
SubClass=StillImage
DeviceType=1
DeviceSubType=0x1
DeviceData=CNCDeviceData_VISTA
AddReg=CNCAddreg,CNCUSDAddreg_XP,CNCUSDAddreg_VISTA
CopyFiles=Wia2Files,CNCDsFiles,ColorFiles.NT,MPScanLLD,CNCMediaFiles
ICMProfiles="sRGB Color Space Profile.icm"
; used for push button event
Capabilities=0x11
Events=PushButton.Events
DriverVer=09/16/2010, 11.3.0.1
FriendlyName=%CNC.FriendlyName%

[CNCInstallNet_VISTA.NTamd64.Services]
Include=sti.inf
Needs=STI.SerialSection.Services

[CNCInstallNet_VISTA.NTamd64.CoInstallers]
CopyFiles = ScanCoInstaller_CopyFiles_x64
AddReg    = ScanCoInstaller_AddReg_x64

[ScanCoInstaller_CopyFiles_x64]
CNCLSO38b.dll

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


;.......................................... Common Section
[PushButton.Events]
PushButtonPushed1=%PushButtonPushed1%,{B1385C20-CAD9-45e4-9517-E916DF4DE523},%ButtonApp%
PushButtonPushed2=%PushButtonPushed2%,{B812F8FB-86B6-4530-9D0D-7ED1D6EAAA1B},%ButtonApp%
PushButtonPushed3=%PushButtonPushed3%,{B278495A-14BE-4f37-B09F-BEEAB4C3C094},%ButtonApp%
PushButtonPushed4=%PushButtonPushed4%,{C5EB411C-80DE-4356-A16B-21BF704920A5},%ButtonApp%

[ColorFiles.NT]
CNZ005.ICC
CNFR10.ICC

[CNCDeviceData]
TwainDS=%CNC.TwainDS%
SpecialInfo=%CNC.SPInfo%
DeviceKey=%CNCRFN%
InstallDirectory="\TWAIN_32\%CNCRFN%\"
KeyNamePath=%KEYNAME%
DefaultKeyNamePath=%DEFAULTKEYNAME%

[CNCDeviceData_VISTA]
TwainDS=%CNC.TwainDS%
SpecialInfo=%CNC.SPInfo%
DeviceKey=%CNCRFN%
InstallDirectory="\TWAIN_32\%CNCRFN%\"
KeyNamePath=%KEYNAME%
DefaultKeyNamePath=%DEFAULTKEYNAME%
UI Class ID={F788686B-F182-476c-B6A1-A2B50FDBBDE4}
;The above GUID reused from sample MUST change for each Model.

[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",,"MF4400          "
HKLM,"%SGDKEY%","DataSourcePath",,"%10%\TWAIN_32\%CNCRFN%\cisds.ds"
HKLM,"%SGDKEY%","TextEnhance",0x00010001,0
HKLM,"%SGDKEY%","HiDefinitionMode",0x00010001,0
HKLM,"%SGDKEY%","AutoPreview",0x00010001,0
HKLM,"%SGDKEY%","AutoClose",0x00010001,0
HKLM,"%SGDKEY%","SavePreview",0x00010001,1
HKLM,"%SGDKEY%","DriverDate",,"01 2010"
HKLM,"%SGDKEY%","DriverVersion",,"11.3.0.1.mf11a"
HKLM,"%SGDKEY%","ColorGear",,%CNC.ColorGear%
HKLM,"%SGDKEY%","ColorMatch Platen",,"CNFR10.ICC"
HKLM,"%SGDKEY%","SGIPPDEF",,"CNCFR10.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%","MF4400",0x00010001,1

[CNCAddreg.USB]
HKLM,"%SGDKEY%","AvailableDriver",0x00010001,1

[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",,"MF4400          "
HKLM,"%WIASGDKEY%","ButtonNum",0x00010001,1
HKLM,"%WIASGDKEY%","DspGamma",0x00010001,1
HKLM,"%WIASTIKEY%","MF4400",0x00010001,1
HKR,,USDClass,,"{E1BA3489-2E22-4d32-A8FA-1908A62BB765}"
HKCR,CLSID\{E1BA3489-2E22-4d32-A8FA-1908A62BB765},,,"Canon USD"
HKCR,CLSID\{E1BA3489-2E22-4d32-A8FA-1908A62BB765}\InProcServer32,,,%11%\CNCC4400.DLL
HKCR,CLSID\{E1BA3489-2E22-4d32-A8FA-1908A62BB765}\InProcServer32,ThreadingModel,,"Both"
;  The above GUID is specific to MF4400 and MUST change for a different model.

[CNCUSDAddreg_VISTA]
HKCR,CLSID\{F788686B-F182-476c-B6A1-A2B50FDBBDE4},,,"WIA Driver UI Extension"
HKCR,CLSID\{F788686B-F182-476c-B6A1-A2B50FDBBDE4}\shellex\ImageProcessingFilter\{ECC610A2-3047-4554-B274-89DEB8E8AEFB}
;  The above GUID is specific to MF4400 and MUST change for a different model.

HKCR,CLSID\{ECC610A2-3047-4554-B274-89DEB8E8AEFB},,,"Canon Image Processing Filter"
HKCR,CLSID\{ECC610A2-3047-4554-B274-89DEB8E8AEFB}\InProcServer32,,,%11%\CNCE4400.dll
HKCR,CLSID\{ECC610A2-3047-4554-B274-89DEB8E8AEFB}\InProcServer32,ThreadingModel,,"Both"
;  The above GUID is specific to MF4400 and MUST change for a different model.

[WiaFiles]
CNCC4400.DLL
CNCI4400.DLL
CNCL4400.DLL

[Wia2Files]
CNCC4400.DLL
CNCI4400.DLL
CNCL4400.DLL
CNCE4400.DLL

[CNCDsFiles]
CISDS.DS
SGUI.DLL
SGUI_RES.DLL
WIARES.DLL
IOP.DLL
ITLIB32.DLL
SCANINTF.DLL
TPM.DLL
CNCFR10.DAT
MC2.TXT
JDA_CIMG.DLL
NBS4MB.DLL
NBSCOR4M.DLL
RMSLANTC.DLL
RSTCOL.DLL
SGCFLTR.dll
SGCFLTR6.dll

[MPScanLLD]
CNCMFP38.INI,,,0x20
CNCLSI38b.DLL,,,0x20
CNCLSD38b.DLL,,,0x20
CNCLSC38b.DLL,,,0x20
CNCLST38b.DLL,,,0x20
CNCLSU38b.DLL,,,0x20

[CNCMediaFiles]
CSSAMP1.MID

;-------------------------------Source Index
[SourceDisksFiles]
CNZ005.ICC=1
ITLIB32.DLL=1
JDA_CIMG.DLL=1
NBS4MB.DLL=1
NBSCOR4M.DLL=1
RMSLANTC.DLL=1
RSTCOL.DLL=1

CISDS.DS=1
SGUI.DLL=1
IOP.DLL=1
SCANINTF.DLL=1
TPM.DLL=1
SGCFLTR.dll=1
SGCFLTR6.dll=1

SGUI_RES.DLL=1
WIARES.DLL=1

CSSAMP1.MID=1

CNCFR10.DAT=1
CNFR10.ICC=1

MC2.TXT=1

CNCC4400.DLL=1
CNCI4400.DLL=1
CNCL4400.DLL=1
CNCE4400.DLL=1

CNCMFP38.INI=1
CNCLSI38b.DLL=1
CNCLSD38b.DLL=1
CNCLSC38b.DLL=1
CNCLST38b.DLL=1
CNCLSU38b.DLL=1

CNCLSO38b.DLL =1


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

;-------------------------------String Aliases
[Strings]
Msft="Canon"
Mfg="Canon"
SGDKEY="Software\Wow6432Node\Canon\SateraMFP1\ScanGear\11.3\Devices\MF4400"
STIKEY="Software\Wow6432Node\Canon\SateraMFP1\ScanGear\STI"
DEFAULTKEYNAME="Software\Wow6432Node\Canon\SateraMFP1\Toolbox Ver4.9\Devices\"
KEYNAME="\Software\Canon\MFToolbox\"
WIASGDKEY="Software\Canon\SateraMFP1\WIA\3.0\Devices\MF4400"
WIASTIKEY="Software\Canon\SateraMFP1\WIA\STI"
D1="Canon MF4400 Series Setup Disk"
LPTENUM\CNC.DeviceDesc="Canon MF4400 Series"
ButtonApp        = "MF Toolbox Ver4.9"
CNCRFN           = "MF4400"
CNC.MDL          = "Canon MF4400"
CNC.SRS          = "Canon MF4400 Series"
CNC.DeviceDesc   = "Canon MF4400"
CNC.SPInfo       = "Canon MF4400 Scanner"
CNC.TwainDS      = "Canon MF4400 Series"
CNC.ColorGear    = "FR10"
PushButtonPushed1= "Color Scan"
PushButtonPushed2= "B&W Scan"
PushButtonPushed3= "Custom 1"
PushButtonPushed4= "Custom 2"
CNC.FriendlyName     = "WIA Canon MF4400 Series"

