;
; MF36SCN.INF  -- Windows Setup File for the MF8300 Series (Windows XP,Vista(64-bit))
; Copyright CANON INC. 2009 All Rights Reserved
;
; InfID: {BA7E017E-FA42-4831-A084-AA9E671325EE}
;
; Last Modified: 11-Jun-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=%Msft%
CatalogFile.NTamd64=MF36SCN.CAT
DriverVer=06/17/2009, 11.3.0.0

[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_2708&MI_00
%LPTENUM\CNC.DeviceDesc%=CNCInstallNet_XP,CANON_MFNP&%CNCRFN%

[Models.NTamd64.6.0]
%LPTENUM\CNC.DeviceDesc%=CNCInstall_VISTA,USB\VID_04A9&PID_2708&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=06/17/2009, 11.3.0.0
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]
CNCLSO36b.dll

[ScanCoInstaller_AddReg_x64]
HKR,,CoInstallers32,0x00010000,"CNCLSO36b.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=06/17/2009, 11.3.0.0
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]
CNCLSO36b.dll

[ScanCoInstaller_AddReg_x64]
HKR,,CoInstallers32,0x00010000,"CNCLSO36b.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=06/17/2009, 11.3.0.0
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]
CNCLSO36b.dll

[ScanCoInstaller_AddReg_x64]
HKR,,CoInstallers32,0x00010000,"CNCLSO36b.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=06/17/2009, 11.3.0.0
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]
CNCLSO36b.dll

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

;.......................................... Common Section
[PushButton.Events]
PushButtonPushed1=%PushButtonPushed1%,{66F2A894-EC9B-430c-9D52-E8719D200DAC},%ButtonApp%
PushButtonPushed2=%PushButtonPushed2%,{506AC8D1-E030-4f05-8F8A-4476153E2D6C},%ButtonApp%
PushButtonPushed3=%PushButtonPushed3%,{9813E8A6-3652-4768-9AD1-C89E9B5CA956},%ButtonApp%
PushButtonPushed4=%PushButtonPushed4%,{03B58D10-0245-4859-A489-D695C7729FB3},%ButtonApp%

[ColorFiles.NT]
CNZ005.ICC
CNFR08.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={DF89C549-D67D-4fb0-A575-547073BFAB11}
;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",,"MF8300          "
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",,"06 2009"
HKLM,"%SGDKEY%","DriverVersion",,"11.3.0.0.mf09"
HKLM,"%SGDKEY%","ColorGear",,%CNC.ColorGear%
HKLM,"%SGDKEY%","ColorMatch Platen",,"CNFR08.ICC"
HKLM,"%SGDKEY%","SGIPPDEF",,"CNCFR08.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%","MF8300",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",,"MF8300          "
HKLM,"%WIASGDKEY%","ButtonNum",0x00010001,1
HKLM,"%WIASGDKEY%","DspGamma",0x00010001,1
HKLM,"%WIASTIKEY%","MF8300",0x00010001,1
HKR,,USDClass,,"{4BA01336-9934-455e-8FB8-4A47A638DF0E}"
HKCR,CLSID\{4BA01336-9934-455e-8FB8-4A47A638DF0E},,,"Canon USD"
HKCR,CLSID\{4BA01336-9934-455e-8FB8-4A47A638DF0E}\InProcServer32,,,%11%\CNCC8300.DLL
HKCR,CLSID\{4BA01336-9934-455e-8FB8-4A47A638DF0E}\InProcServer32,ThreadingModel,,"Both"
;  The above GUID is specific to MF8300 and MUST change for a different model.

[CNCUSDAddreg_VISTA]
HKCR,CLSID\{DF89C549-D67D-4fb0-A575-547073BFAB11},,,"WIA Driver UI Extension"
HKCR,CLSID\{DF89C549-D67D-4fb0-A575-547073BFAB11}\shellex\ImageProcessingFilter\{CA0D4D3E-98ED-4787-AF02-4AF2A1303ACC}
;  The above GUID is specific to MF8300 and MUST change for a different model.

HKCR,CLSID\{CA0D4D3E-98ED-4787-AF02-4AF2A1303ACC},,,"Canon Image Processing Filter"
HKCR,CLSID\{CA0D4D3E-98ED-4787-AF02-4AF2A1303ACC}\InProcServer32,,,%11%\CNCE8300.dll
HKCR,CLSID\{CA0D4D3E-98ED-4787-AF02-4AF2A1303ACC}\InProcServer32,ThreadingModel,,"Both"
;  The above GUID is specific to MF8300 and MUST change for a different model.

[WiaFiles]
CNCC8300.DLL
CNCI8300.DLL
CNCL8300.DLL

[Wia2Files]
CNCC8300.DLL
CNCI8300.DLL
CNCL8300.DLL
CNCE8300.DLL

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

[MPScanLLD]
CNCMFP36.INI,,,0x20
CNCLSI36b.DLL,,,0x20
CNCLSD36b.DLL,,,0x20
CNCLSC36b.DLL,,,0x20
CNCLST36b.DLL,,,0x20
CNCLSU36b.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

SGUI_RES.DLL=1
WIARES.DLL=1

CSSAMP1.MID=1

CNCFR08.DAT=1
CNFR08.ICC=1

MC2.TXT=1

CNCC8300.DLL=1
CNCI8300.DLL=1
CNCL8300.DLL=1
CNCE8300.DLL=1

CNCMFP36.INI=1
CNCLSI36b.DLL=1
CNCLSD36b.DLL=1
CNCLSC36b.DLL=1
CNCLST36b.DLL=1
CNCLSU36b.DLL=1

CNCLSO36b.DLL =1


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

;-------------------------------String Aliases
[Strings]
Msft="Canon"
Mfg="Canon"
SGDKEY="Software\Wow6432Node\Canon\SateraMFP1\ScanGear\11.3\Devices\MF8300"
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\MF8300"
WIASTIKEY="Software\Canon\SateraMFP1\WIA\STI"
D1="Canon MF8300 Series Setup Disk"
LPTENUM\CNC.DeviceDesc="Canon MF8300 Series"
ButtonApp        = "MF Toolbox Ver4.9"
CNCRFN           = "MF8300"
CNC.MDL          = "Canon MF8300"
CNC.SRS          = "Canon MF8300 Series"
CNC.DeviceDesc   = "Canon MF8300"
CNC.SPInfo       = "Canon MF8300 Scanner"
CNC.TwainDS      = "Canon MF8300 Series"
CNC.ColorGear    = "FR08"
PushButtonPushed1= "Scan-1"
PushButtonPushed2= "Scan-2"
PushButtonPushed3= "Scan-3"
PushButtonPushed4= "Scan-4"
CNC.FriendlyName     = "WIA Canon MF8300 Series"

