;------------------------------------------------------------------------------
; V0560Vid.INF -- Creative Camera Model Number VF0560 installation
; Copyright (c) 2008-2009 Creative Technology Ltd. All rights reserved.
;------------------------------------------------------------------------------

[Version]
Signature =$Windows NT$
Class =Image
ClassGuid ={6BDD1FC6-810F-11D0-BEC7-08002BE2092F}
Provider =%Provider%
LayoutFile =layout.inf,layout1.inf,layout2.inf
CatalogFile =V0560Vid.cat
DriverVer =07/02/2009,%VersionNumber%

[SourceDisksNames]
1 =%DiskDescription%,,,

[SourceDisksFiles]
V0560Vid.sys =1
V0560Vid64.sys =1
V0560Ext.ax =1
V0560Ext.crl =1
V0560Ext64.ax =1
V0560Ext64.crl =1
V0560Hwx.dll =1
V0560Hwx64.dll =1
V0560Pin.dll =1
V0560Pin64.dll =1
V0560Twn.ds =1
V0560PC.bmp =1
V0560Pvc.bmp =1
CtCamMgr.dll =1
CtCamMgr64.dll =1
CtCamPin.crl =1
CtCamPin64.crl =1
CtDrvIns.exe =1
CtDrvIns64.exe =1
CTTwain.crl =1
CTTwain.dll =1
VF0560.uns =1
V0560AF.dll =1
V0560AF.crl =1

[DestinationDirs]
DefaultDestDir =11
CtlCam.CopyKnlDrv =10,System32\Drivers
CtlCam.CopyKnlDrv.NTamd64 =10,System32\Drivers
CtlCam.CopyUserDrv =11
CtlCam.CopyUserDrv.WOW =10,SysWow64
CtlCam.CopyUserDrv.NTamd64 =11
CtlCam.CopyTwnFiles =10,Twain_32\Creative\VF0560
CtlCam.CopyWinFiles.Cmn =10
CtlCam.CopyWinFiles.Cmnx86 =10
CtlCam.CopyWinFiles.NTamd64 =10

[ControlFlags]
ExcludeFromSelect =*

[Manufacturer]
%Provider% =Creative,NTamd64

[Creative]
%DeviceDescription% =CtlCam,USB\VID_041E&PID_406D&MI_00

[Creative.NTamd64]
%DeviceDescription% =CtlCam.NTamd64,USB\VID_041E&PID_406D&MI_00

[CtlCam]
CopyFiles =CtlCam.CopyKnlDrv,CtlCam.CopyUserDrv,CtlCam.CopyTwnFiles,\
           CtlCam.CopyWinFiles.Cmn,CtlCam.CopyWinFiles.Cmnx86
AddReg =CtlCam.AddReg.Cmn,CtlCam.Uns.AddReg,CtlCam.AddReg.Wia
Include =ks.inf,kscaptur.inf,dshowext.inf
Needs =KS.Registration,KSCAPTUR.Registration.NT,DSHOWEXT.Registration

SubClass =StillImage
DeviceType =%VIDEO_DEVICES%
DeviceSubType =%VENDOR_DEFINED%
Capabilities =%STI_GENCAP_SUBSET&STI_GENCAP_WIA&STI_GENCAP_NOTIFICATIONS%
DeviceData =CtlCam.DeviceData
ICMProfiles="sRGB Color Space Profile.icm"

[CtlCam.NTamd64]
CopyFiles =CtlCam.CopyKnlDrv.NTamd64,CtlCam.CopyUserDrv.WOW,\
           CtlCam.CopyUserDrv.NTamd64,CtlCam.CopyTwnFiles,\
           CtlCam.CopyWinFiles.Cmn,\
           CtlCam.CopyWinFiles.NTamd64
AddReg =CtlCam.AddReg.Cmn,CtlCam.Uns.AddReg.NTamd64,CtlCam.AddReg.NTamd64
Include =ks.inf,kscaptur.inf
Needs =KS.Registration,KSCAPTUR.Registration.NT

[CtlCam.AddReg.NTamd64]
HKLM,%CTConfigRegistryWow%,Version,,%VersionNumber%

[CtlCam.Services]
AddService =%VideoServiceName%,%SPSVCINST_ASSOCSERVICE%,CtlCam.ServiceInstall

[CtlCam.NTamd64.Services]
AddService =%VideoServiceName%,%SPSVCINST_ASSOCSERVICE%,CtlCam.ServiceInstall

[CtlCam.CoInstallers]
AddReg =CtlCam.CoInst.AddReg
CopyFiles =CtlCam.CopyCoInstFile

[CtlCam.NTamd64.CoInstallers]
AddReg =CtlCam.CoInst.AddReg
CopyFiles =CtlCam.CopyCoInstFile

[CtlCam.Interfaces]
AddInterface =%KSCATEGORY_CAPTURE%,GLOBAL,CtlCam.Interface
AddInterface =%KSCATEGORY_VIDEO%,GLOBAL,CtlCam.Interface
AddInterface =%KSCATEGORY_RENDER%,GLOBAL,CtlCam.Interface
AddInterface =%KSCATEGORY_RENDER_EXT%,GLOBAL,CtlCam.Interface

[CtlCam.NTamd64.Interfaces]
AddInterface =%KSCATEGORY_CAPTURE%,GLOBAL,CtlCam.Interface
AddInterface =%KSCATEGORY_VIDEO%,GLOBAL,CtlCam.Interface
AddInterface =%KSCATEGORY_RENDER%,GLOBAL,CtlCam.Interface
AddInterface =%KSCATEGORY_RENDER_EXT%,GLOBAL,CtlCam.Interface

[CtlCam.DeviceData]
TwainDS =%DeviceDescription%
Server =local
UI DLL =sti.dll
UI Class ID =%DEFAULT_WIA_DIP_UI.CLSID%

[CtlCam.ServiceInstall]
DisplayName =%VideoServiceDisplayName%
Description =%VideoServiceDescription%" "%DeviceDescription%.
ServiceType =%SERVICE_KERNEL_DRIVER%
StartType =%SERVICE_DEMAND_START%
ErrorControl =%SERVICE_ERROR_NORMAL%
ServiceBinary =%12%\%VideoDriver.NT%

[CtlCam.CoInst.AddReg]
HKR,,CoInstallers32,%FLG_ADDREG_TYPE_MULTI_SZ%,\
    "%InsPlugInFile%,CoInstallerEntryPoint"

[CtlCam.Interface]
AddReg =CtlCam.Interface.AddReg

[CtlCam.Interface.AddReg]
HKR,,CLSID,,%ProxyVidCap.CLSID%
HKR,,FriendlyName,,%DeviceDescription%

;==============================================================================

[CtlCam.AddReg.Cmn]
HKLM,%CTConfigRegistry%,Version,,%VersionNumber%
HKR,,CtProductName,,%ProductName%
HKR,,CtVersion,,%VersionNumber%
HKR,,NTMPDriver,,%VideoDriver.NT%
HKLM,%MSUninstall%\%UninstallKey%,DisplayName,,\
    "%UninstallDisplay% (%VersionNumber%)"

HKLM,Software\Microsoft\Conferencing\CaptureDefaultFormats\%DeviceDescription%,\
    DefaultFormat,,"I420, 320x240x12"
HKLM,Software\Microsoft\Conferencing\CaptureDevices\%DeviceDescription%,\
    dwDialogs,%FLG_ADDREG_BINVALUETYPE%,02,00,00,00
HKLM,Software\Microsoft\Conferencing\CaptureDevices\%DeviceDescription%,\
    dwImageSize,%FLG_ADDREG_BINVALUETYPE%,40,04,40,80
HKLM,Software\Microsoft\Conferencing\CaptureDevices\%DeviceDescription%,\
    dwNumColors,%FLG_ADDREG_BINVALUETYPE%,28,00,00,00
HKLM,Software\Microsoft\Conferencing\CaptureDevices\%DeviceDescription%,\
    dwStreamingMode,%FLG_ADDREG_BINVALUETYPE%,01

HKR,,DriverDesc,,%DeviceDescription%
HKR,,FriendlyName,,%DeviceDescription%
HKR,,CtAudioName,,%szAudioName%

[CtlCam.AddReg.Wia]
HKR,,HardwareConfig,%FLG_ADDREG_BINVALUETYPE%,\
    %CONNECTION_TYPE_GENERIC_WDM_DEVICES%
HKR,,USDClass,,%WIA_VIDEO_SNAPSHOT_USD.CLSID%

[CtlCam.Uns.AddReg]
HKLM,%MSUninstall%\%UninstallKey%,UninstallString,,\
    "%10%\CtDrvIns.exe -uninstall -script %UnsScript% -plugin %InsPlugInFile% -pluginres %InsPlugInResFile%"
HKLM,%MSUninstall%\%UninstallKey%,NoModify,\
    %FLG_ADDREG_BINVALUETYPE&FLG_ADDREG_TYPE_MULTI_SZ%,1
HKLM,%MSUninstall%\%UninstallKey%,NoRepair,\
    %FLG_ADDREG_BINVALUETYPE&FLG_ADDREG_TYPE_MULTI_SZ%,1
HKR,,CtUnsExt

[CtlCam.Uns.AddReg.NTamd64]
HKLM,%MSUninstall%\%UninstallKey%,UninstallString,,\
    "%10%\CtDrvIns.exe -uninstall -script %UnsScript% -unsext NTamd64 -plugin %InsPlugInFile% -pluginres %InsPlugInResFile%"
HKLM,%MSUninstall%\%UninstallKey%,NoModify,\
    %FLG_ADDREG_BINVALUETYPE&FLG_ADDREG_TYPE_MULTI_SZ%,1
HKLM,%MSUninstall%\%UninstallKey%,NoRepair,\
    %FLG_ADDREG_BINVALUETYPE&FLG_ADDREG_TYPE_MULTI_SZ%,1
HKLM,%MSUninstallWow64%\%UninstallKey%,UninstallString,,\
    "%10%\CtDrvIns.exe -uninstall -script %UnsScript% -unsext NTamd64 -plugin %InsPlugInFile% -pluginres %InsPlugInResFile%"
HKLM,%MSUninstallWow64%\%UninstallKey%,NoModify,\
    %FLG_ADDREG_BINVALUETYPE&FLG_ADDREG_TYPE_MULTI_SZ%,1
HKLM,%MSUninstallWow64%\%UninstallKey%,NoRepair,\
    %FLG_ADDREG_BINVALUETYPE&FLG_ADDREG_TYPE_MULTI_SZ%,1
HKR,,CtUnsExt,,NTamd64

[CtlCam.CopyKnlDrv]
V0560Vid.sys,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
V0560PC.bmp,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
V0560Pvc.bmp,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%

[CtlCam.CopyKnlDrv.NTamd64]
V0560Vid.sys,V0560Vid64.sys,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
V0560PC.bmp,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
V0560Pvc.bmp,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%

[CtlCam.CopyUserDrv]
V0560Ext.ax,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
V0560Ext.crl,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
V0560Hwx.dll,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
V0560Pin.dll,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
CtCamMgr.dll,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
CtCamPin.crl,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
V0560AF.dll,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
V0560AF.crl,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%

[CtlCam.CopyUserDrv.WOW]
V0560Ext.ax,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
V0560Ext.crl,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
V0560Hwx.dll,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
V0560Pin.dll,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
CtCamMgr.dll,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
CtCamPin.crl,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
V0560AF.dll,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
V0560AF.crl,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%

[CtlCam.CopyUserDrv.NTamd64]
V0560Ext.ax,V0560Ext64.ax,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
V0560Ext.crl,V0560Ext64.crl,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
V0560Hwx.dll,V0560Hwx64.dll,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
V0560Pin.dll,V0560Pin64.dll,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
CtCamMgr.dll,CtCamMgr64.dll,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
CtCamPin.crl,CtCamPin64.crl,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
V0560AF.dll,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
V0560AF.crl,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%

[CtlCam.CopyTwnFiles]
V0560Twn.ds,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
CTTwain.crl,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
CTTwain.dll,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%

[CtlCam.CopyWinFiles.Cmn]
VF0560.uns,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%

[CtlCam.CopyWinFiles.Cmnx86]
CtDrvIns.exe,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%

[CtlCam.CopyWinFiles.NTamd64]
CtDrvIns.exe,CtDrvIns64.exe,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%

[CtlCam.CopyCoInstFile]

;==============================================================================

[Strings]
MSUninstall ="Software\Microsoft\Windows\CurrentVersion\Uninstall"
MSUninstallWow64 ="Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall"
MSMediaResourcesMSVideo ="System\CurrentControlSet\Control\MediaResources\MsVideo"

KSCATEGORY_CAPTURE ="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_VIDEO ="{6994AD05-93EF-11D0-A3CC-00A0C9223196}"
KSCATEGORY_RENDER ="{65E8773E-8F56-11D0-A3B9-00A0C9223196}"
KSCATEGORY_RENDER_EXT ="{CC7BFB41-F175-11D1-A392-00E0291F3959}"
ProxyVidCap.CLSID ="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"
WIA_VIDEO_SNAPSHOT_USD.CLSID ="{0527D1D0-88C2-11D2-82C7-00C04F8EC183}"
DEFAULT_WIA_DIP_UI.CLSID ="{5D8EF5A3-AC13-11D2-A093-00C04F72DC3C}"

VIDEO_DEVICES =3
VENDOR_DEFINED =0x1
STI_GENCAP_SUBSET&STI_GENCAP_WIA&STI_GENCAP_NOTIFICATIONS =0x00000031
CONNECTION_TYPE_GENERIC_WDM_DEVICES =1
NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY =0x00000060
SPSVCINST_ASSOCSERVICE =0x00000002
SERVICE_KERNEL_DRIVER =1
SERVICE_DEMAND_START =0x3
SERVICE_ERROR_NORMAL =0x1
FLG_ADDREG_BINVALUETYPE =0x00000001
FLG_ADDREG_TYPE_MULTI_SZ =0x00010000
FLG_ADDREG_BINVALUETYPE&FLG_ADDREG_TYPE_MULTI_SZ =0x00010001
FLG_ADDREG_TYPE_DWORD =0x00010001

Provider ="Creative Technology Ltd."
DiskDescription ="Creative VF0560 Driver Disk"
DeviceDescription ="Live! Cam Optia AF (VF0560)"
ProductName ="Creative Live! Cam Optia AF (VF0560)"
UninstallKey ="Creative VF0560"
UninstallDisplay ="Creative Live! Cam Optia AF (VF0560) Driver"
VideoServiceName ="V0560Vid"
VideoServiceDisplayName ="Creative Live! Cam Optia AF Driver"
VideoServiceDescription ="Provides a software interface to control"

CTConfigRegistry ="Software\Creative Tech\Web Cameras\VF0560"
CTConfigRegistryWow ="Software\Wow6432Node\Creative Tech\Web Cameras\VF0560"

InsPlugInFile ="V0560Pin.dll"
UnsScript ="VF0560.uns"
InsPlugInResFile ="CtCamPin.crl"
VideoDriver.NT ="V0560Vid.sys"

szAudioName ="VF0560 Live! Cam Optia AF" 

VersionNumber ="1.01.03.00"
