;------------------------------------------------------------------------------
; OEM04Vid.INF -- Creative Camera Model Number OEM004 installation
; Copyright (c) 2007 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 =OEM04Vid.cat
DriverVer =10/11/2007,%VersionNumber%

[SourceDisksNames]
1 =%DiskDescription%

[SourceDisksFiles]
CtCamMgr.dll =1
CtCamMgr64.dll =1
CtDrvIns.exe =1
CtDrvIns64.exe =1
cximage.dll =1
HookWnd.dll =1
OEM004.uns =1
OEM04Afx.sys =1
OEM04Afx64.sys =1
OEM04Cfg.exe =1
OEM04Cvw.bff =1
OEM04Cvw.crl =1
OEM04Cvw.dll =1
OEM04Vid.sys =1
OEM04Vid64.sys =1
OEM04Hwx.dll =1
OEM04Hwx64.dll =1
OEM04Mon.exe =1
OEM04PC.bmp =1
OEM04Pin.crl =1
OEM04Pin.dll =1
OEM04Pin64.crl =1
OEM04Pin64.dll =1
OEM04Pvc.bmp =1
OEM04Srv.exe =1
OEM04Srv64.exe =1
OEM04Vfx.sys =1
OEM04Vfx64.sys =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\OEM004
CtlCam.CopyWinFiles.Cmn =10
CtlCam.CopyWinFiles.Cmnx86 =10
CtlCam.CopyWinFiles.NTamd64 =10

[ControlFlags]
ExcludeFromSelect =*

[Manufacturer]
%Provider% =Creative,NTamd64

[Creative]
%DeviceDescription% =CtlCam,USB\VID_05A9&PID_7670&MI_00

[Creative.NTamd64]
%DeviceDescription% =CtlCam.NTamd64,USB\VID_05A9&PID_7670&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.AddReg.NTamd64,CtlCam.Uns.AddReg.NTamd64
Include =ks.inf,kscaptur.inf
Needs =KS.Registration,KSCAPTUR.Registration.NT

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

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

[CtlCam.HW]
AddReg =VFXFilter.AddReg

[CtlCam.NTamd64.HW]
AddReg =VFXFilter.AddReg

[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]
Server =local
UI DLL =sti.dll
UI Class ID =%DEFAULT_WIA_DIP_UI.CLSID%

[VFXFilter.AddReg]
HKR,,UpperFilters,%FLG_ADDREG_TYPE_MULTI_SZ%,%VFXFilterServiceName%
HKR,,DriverDesc,,%DeviceDescription%
HKR,,FriendlyName,,%DeviceDescription%

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

[VFXFilter.ServiceInstall]
DisplayName =%VFXFilterServiceDisplayName%
Description =%VFXFilterServiceDescription%" "%DeviceDescription%.
ServiceType =%SERVICE_KERNEL_DRIVER%
StartType =%SERVICE_DEMAND_START%
ErrorControl =%SERVICE_ERROR_NORMAL%
ServiceBinary =%12%\%VFXFilterServiceName%.sys

[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%
HKLM,%MSUninstall%\%UninstallKey%,DisplayName,,\
    "%UninstallDisplay% (%VersionNumber%) %Interim%"

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%

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

[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%" -nodisconprompt
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%" -nodisconprompt
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%" -nodisconprompt
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]
OEM04Vid.sys,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
OEM04Vfx.sys,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
OEM04PC.bmp,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
OEM04Pvc.bmp,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
OEM04Afx.sys,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%

[CtlCam.CopyKnlDrv.NTamd64]
OEM04Vid.sys,OEM04Vid64.sys,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
OEM04Vfx.sys,OEM04Vfx64.sys,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
OEM04PC.bmp,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
OEM04Pvc.bmp,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
OEM04Afx.sys,OEM04Afx64.sys,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%

[CtlCam.CopyUserDrv]
OEM04Cvw.bff,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
OEM04Cvw.dll,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
OEM04Cvw.crl,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
OEM04Hwx.dll,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
OEM04Pin.crl,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
OEM04Pin.dll,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
CtCamMgr.dll,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
OEM04Srv.exe,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
cximage.dll,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%

[CtlCam.CopyUserDrv.WOW]
OEM04Cvw.bff,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
OEM04Cvw.dll,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
OEM04Cvw.crl,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
OEM04Hwx.dll,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
OEM04Pin.dll,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
OEM04Pin.crl,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
CtCamMgr.dll,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
cximage.dll,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%

[CtlCam.CopyUserDrv.NTamd64]
OEM04Hwx.dll,OEM04Hwx64.dll,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
OEM04Pin.dll,OEM04Pin64.dll,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
OEM04Pin.crl,OEM04Pin64.crl,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
CtCamMgr.dll,CtCamMgr64.dll,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
OEM04Srv.exe,OEM04Srv64.exe,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%

[CtlCam.CopyTwnFiles]
HookWnd.dll,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%

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

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

[CtlCam.CopyWinFiles.NTamd64]
OEM04Mon.exe,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
OEM04Cfg.exe,,,%NO_VERSION_DIALOG&OVERWRITE_OLDER_ONLY%
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"

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 Camera OEM004 Driver Disk"
DeviceDescription ="Laptop Integrated Webcam"
ProductName ="Laptop Integrated Webcam"
UninstallKey ="Creative OEM004"
UninstallDisplay ="Laptop Integrated Webcam Driver"
VideoServiceName ="OEM04Vid"
VideoServiceDisplayName ="Creative Camera OEM004 Driver"
VideoServiceDescription ="Provides a software interface to control"
VFXFilterServiceName ="OEM04Vfx"
VFXFilterServiceDisplayName ="Creative Camera OEM004 Video VFX Driver"
VFXFilterServiceDescription =\
    "Provides a software interface to control video effects of"

CTConfigRegistry ="Software\Creative Tech\Web Cameras\OEM004"
CTConfigRegistryWow64 ="Software\Wow6432Node\Creative Tech\Web Cameras\OEM004"

InsPlugInFile ="OEM04Pin.dll"
UnsScript ="OEM004.uns"
InsPlugInResFile ="OEM04Pin.crl"
VideoDriver.NT ="OEM04Vid.sys"

VersionNumber ="1.03.01.1011" ; Release on 10/11/2007.
Interim =" "
