; **** Canon Camera Driver Setup File ****
; CAP054.inf - for TWAIN Driver
; Copyright (c) CANON INC.


[Version]
LayoutFile=layout.inf, layout1.inf, Layout2.inf
Signature="$CHICAGO$"
Class=Image
ClassGUID={6bdd1fc6-810f-11d0-bec7-08002be2092f}
Provider=%Msft%
DriverVer=03/16/2006,6.6

[ControlFlags]
ExcludeFromSelect=*

[DestinationDirs]
DefaultDestDir=11
CopyFiles.Sys32=10,system32\drivers			; \windows\system32\drivers
CNDPTP.CopyFiles.TwainFiles=10,TWAIN_32\CANONPTP	; \windows\TWAIN_32\CANONPTP
CNDPTP.CopyFiles.SDKFiles=10,TWAIN_32\CANONPTP  	; \windows\TWAIN_32\CANONPTP

[Manufacturer]
%Mfg%=Models


[Models]
%CNDPTP.DeviceDesc%=CNDPTP.Camera, USB\VID_04A9&PID_3125

[CNDPTP.Camera]
SubClass=StillImage
DeviceType=2
DeviceSubType=0x10
Capabilities=0x00000001
DeviceData=CNDPTP.DeviceData
AddReg=CNDPTP.AddReg,PSLCamera.Addreg,98USB.AddReg
CopyFiles=CNDPTP.CopyFiles,CNDPTP.CopyFiles.TwainFiles,CNDPTP.CopyFiles.SDKFiles,CopyFiles.Sys32
DelFiles=CNDPTP.DelSysFiles
UninstallSection=Uninstall.CNDPTP
Events=CNDPTP.Events
ICMProfiles="sRGB Color Space Profile.icm"

[CNDPTP.Camera.NT]
Include=sti.inf
Needs=STI.USBSection
SubClass=StillImage
DeviceType=2
DeviceSubType=0x10
Capabilities=0x00000001
DeviceData=CNDPTP.DeviceData
AddReg=CNDPTP.AddReg,PSLCamera.Addreg
CopyFiles=CNDPTP.CopyFiles,CNDPTP.CopyFiles.TwainFiles,CNDPTP.CopyFiles.SDKFiles
DelFiles=CNDPTP.DelSysFiles.NT
UninstallSection=Uninstall.CNDPTP
Events=CNDPTP.Events
ICMProfiles="sRGB Color Space Profile.icm"

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

[CNDPTP.Events]
CameraDetected=%COMMON_EVENT_CAMERADETECTED%,%CNDPTP_CLSID_CAMERADETECTED%,*

[CNDPTP.DeviceData]
TwainDS="Canon Camera USB"
SpecialInfo=%CNDPTP_CLSID_CAMERADETECTED%


[98USB.AddReg]
HKR,,NTMPDriver,,"usbscan.sys"

[CNDPTP.AddReg]
HKR,,HardwareConfig,1,4
HKR,,DevLoader,,*NTKERN
HKR,,USDClass,,"%CNDPTP_CLSID_USD%"
HKCR,CLSID\%CNDPTP_CLSID_USD%,,,"Canon Camera STI USB and WIA USD"
HKCR,CLSID\%CNDPTP_CLSID_USD%\InProcServer32,,,%11%\CNDPTPU.dll
HKCR,CLSID\%CNDPTP_CLSID_USD%\InProcServer32,ThreadingModel,,"Apartment"

[PSLCamera.Addreg]
;For TWAIN6.4
HKLM,"%PS_REG%\TWAIN\CANONPTP",DeviceDesc,,"Canon Camera"
HKLM,"%PS_REG%\TWAIN\CANONPTP",ModelName,,"Canon Camera USB"


[SourceDisksNames]
2=%PS_DISK_NAME%,,,

[SourceDisksFiles]
;--CNDPTP.CopyFiles
CNDPTPC.dll = 2
CNDPTPU.dll = 2

;--CNDPTP.CopyFiles.TwainFiles
COMNDLG2.dll = 2
do._da = 2
CDSDK2A2.dll = 2
PSIMGGT2.dll = 2
PSUI52.dll = 2
Pstds.ds = 2
UIACTIN2.dll = 2
PSR52_de.dll = 2
PSR52_en.dll = 2
PSR52_es.dll = 2
PSR52_fr.dll = 2
PSR52_it.dll = 2
PSR52_ja.dll = 2
PSR52_zh.dll = 2

;--CNDPTP.CopyFiles.SDKFiles
pscamdat.dll = 2
CDRAPCLS.dll = 2
CDSDK.dll = 2
pscDcd.dll = 2
pscDvlp.dll = 2
pscParse.dll = 2
CDFILSYS.dll = 2
CDPTPCLS.dll = 2
EWatch.exe = 2
IWrap.dll = 2


[CopyFiles.Sys32]
usbscan.sys

[CNDPTP.CopyFiles]
CNDPTPC.dll,,,0x20
CNDPTPU.dll,,,0x20

[CNDPTP.CopyFiles.TwainFiles]
COMNDLG2.dll,,,0x20
do._da,,,0x20
CDSDK2A2.dll,,,0x20
PSIMGGT2.dll,,,0x20
PSUI52.dll,,,0x20
Pstds.ds,,,0x20
UIACTIN2.dll,,,0x20
PSR52_de.dll,,,0x20
PSR52_en.dll,,,0x20
PSR52_es.dll,,,0x20
PSR52_fr.dll,,,0x20
PSR52_it.dll,,,0x20
PSR52_ja.dll,,,0x20
PSR52_zh.dll,,,0x20

[CNDPTP.CopyFiles.SDKFiles]
pscamdat.dll,,,0x20
CDRAPCLS.dll,,,0x20
CDSDK.dll,,,0x20
pscDcd.dll,,,0x20
pscDvlp.dll,,,0x20
pscParse.dll,,,0x20
CDFILSYS.dll,,,0x20
CDPTPCLS.dll,,,0x20
EWatch.exe,,,0x20
IWrap.dll,,,0x20


[Uninstall.CNDPTP]
DelFiles=CNDPTP.DelSysFiles.NT

; Win98 delete files section
[CNDPTP.DelSysFiles]
usbscan.sys,,,1
do._da

; WinNT delete files section
[CNDPTP.DelSysFiles.NT]
do._da


[Strings]
Msft="Canon.Inc"
Mfg="Canon"
CNDPTP.DeviceDesc="Canon Camera"

COMMON_EVENT_CAMERADETECTED="Camera is Detected"
CNDPTP_CLSID_CAMERADETECTED="{6CB8012C-7190-429e-8BFC-77E8DB5A7133}"

CNDPTP_CLSID_USD="{55D8D01E-93C6-450f-B4D8-1E2DB2FED42C}"

PS_REG="Software\Canon\PowerShot"

PS_DISK_NAME="Canon Digital Camera Solution Disk "

