;---------------------------------------------------------------------------
; VF0080.UNS -- Creative Camera Model Number VF0080 uninstallation
; Copyright (c) 2004 Creative Technology Ltd. All rights reserved.
;---------------------------------------------------------------------------
[Version]
Signature ="$CHICAGO$"

[Main.Uninstall.Devices]
USB\VID_041E&PID_4038
USB\VID_041E&PID_4039

[Main.Uninstall.Opt]
Common_Uninstall_Section =CtlCam.Uninstall
Device_Desc_For_Messages ="Creative WebCam Live! Pro/Effects"

[DestinationDirs]
DefaultDestDir          =11
CtlCam.CopyKnlDrv.Cmn   =10,system32\drivers
CtlCam.CopyKnlDrv       =10,system32\drivers
CtlCam.CopyKnlDrv.NT    =10,system32\drivers
CtlCam.CopyUserDrv      =11
CtlCam.CopyTwnFiles     =10,Twain_32\Creative\VF0080
CtlCam.CopyVfwDrv       =11
CtlCam.CopyVfwDrv.NT    =11
CtlCam.CopyWinFiles.Cmn =10
CtlCam.CopyWinFiles     =10
CtlCam.Sensor           =10,system
CtlCam.DLCode           =10,system32\drivers

; ----------------------------- FILES ---------------------------------
[CtlCam.CopyKnlDrv.Cmn]
V0080Evx.sys,,,0

[CtlCam.CopyKnlDrv]
V0080Dev.sys,V0080V9x.sys,,

[CtlCam.CopyKnlDrv.NT]
V0080Dev.sys,V0080Vnt.sys,,0

[CtlCam.CopyUserDrv]
; STI driver
V0080Sti.dll,,,0
; HWX module
V0080Hwx.dll,,,0
; Plug-in modules
V0080Pin.dll,,,0
CtCamPin.crl
; Property page modules
V0080Ext.ax,,,0
V0080Ext.crl,,,0
CtCamMgr.dll,,,0x00000020
CtRegApp.dll,,,0x00000020
V0080Aor.dll,,,0

[CtlCam.CopyTwnFiles]
V0080Twn.ds,,,0
CtTwain.bff,,,0
CtTwain.dll,,,0
CtTwain.crl,,,0
HookWnd.dll,,,0
GdiPlus.dll,,,0

[CtlCam.CopyVfwDrv]
V0080Vfw.drv,,,

[CtlCam.CopyVfwDrv.NT]
V0080Vfw.dll,,,0

[CtlCam.CopyWinFiles.Cmn]
V0080Cfg.exe,,,0
VF0080.uns,,,0

[CtlCam.CopyWinFiles]
VfwUpd.exe,,,0x00000020

[CtlCam.Sensor]
SenH2111.csr,,,0
SenF2111.csr,,,0

[CtlCam.DLCode]
CamH2111.bin,,,0
CamF2111.bin,,,0

;----------------------- UNINSTALLATION -------------------------------------

[CtlCam.Uninstall]
DelFiles          =CtlCam.CopyKnlDrv.Cmn,CtlCam.CopyKnlDrv,CtlCam.CopyUserDrv,CtlCam.CopyTwnFiles,CtlCam.CopyVfwDrv,CtlCam.CopyWinFiles.Cmn,CtlCam.CopyWinFiles,CtlCam.Sensor,CtlCam.DLCode
DelReg            =CtlCam.DelReg,CtlCam.Vfw.DelReg
UpdateInis        =CtlCam.DelIni
ctDelDevices      =CtlCam.DelDevices
ctDelDevClassInst =CtlCam.DelDevClass

[CtlCam.Uninstall.NT]
DelFiles          =CtlCam.CopyKnlDrv.Cmn,CtlCam.CopyKnlDrv.NT,CtlCam.CopyUserDrv,CtlCam.CopyTwnFiles,CtlCam.CopyVfwDrv.NT,CtlCam.CopyWinFiles.Cmn,CtlCam.Sensor,CtlCam.DLCode
DelReg            =CtlCam.DelReg,CtlCam.Vfw.DelReg
DelService        =%szVidServiceName%,0x200,,
UpdateInis        =CtlCam.DelIni
ctDelDevices      =CtlCam.DelDevices
ctDelDevClassInst =CtlCam.DelDevClass
ctDelTempPreInsDir=CtlCam.DelDir

[CtlCam.DelDir]
V0080Dev.inf

[CtlCam.DelReg]
HKCR,CLSID\%szSTIDriver.GUID%
HKLM,%CTConfigRegistry%
HKLM,%MSUninstall%\%szUninstall%
HKLM,System\CurrentControlSet\Control\SessionManager\Known16DLLs,V0080Vfw.drv

HKLM,%CAMERA_ENV_REGISTRY%
HKLM,%CAMERA_DEBUG_REGREPORT%
HKLM,%CAMERA_REGISTER_ADDR%
HKLM,%CAMERA_EEPROM_SETTING%

HKLM,Software\Microsoft\Conferencing\CaptureDefaultFormats\%CamM5603C.DeviceDesc%
HKLM,Software\Microsoft\Conferencing\CaptureDevices\%CamM5603C.DeviceDesc%
HKLM,Software\Microsoft\Conferencing\CaptureDefaultFormats\%CamM5603C.DeviceDesc2%
HKLM,Software\Microsoft\Conferencing\CaptureDevices\%CamM5603C.DeviceDesc2%

[CtlCam.Vfw.DelReg]
HKLM,%MSMediaResourcesMSVideo%\MSVideo.%szVfwKey%
HKLM,%MSMMDriver%,"MSVideo.VF0080VFW"

[CtlCam.DelIni]
system.ini,drivers,"MSVideo.%szVfwKey%=%szVfwBaseFileName%.drv",,0

[CtlCam.DelDevClass]
{FF596E7C-6163-48B5-852F-E45752EED16F},%DELETE_CLASS_IF_NO_INST%
{65E8773D-8F56-11D0-A3B9-00A0C9223196},0
{6994AD05-93EF-11D0-A3CC-00A0C9223196},0
{A5DCBF10-6530-11D2-901F-00C04FB951ED},0
{40EF6CF0-2DB6-11D3-9F78-00C04F6D5135},0
{EA4FA382-B0DA-4C20-8521-A4F159E9A011},0
{F18A0E88-C30C-11D0-8815-00A0C906BED8},0
{F80C0521-71DC-4976-BBC2-0728C645E6E6},0
{FB6C428A-0353-11D1-905F-0000C0CC16BA},0
{6BDD1FC6-810F-11D0-BEC7-08002BE2092F},0

[CtlCam.DelDevices]

;-----------------------  STRINGS DEFINITION ---------------------------------

[Strings]
MSUninstall             ="Software\Microsoft\Windows\CurrentVersion\Uninstall"
MSMediaResourcesMSVideo ="System\CurrentControlSet\Control\MediaResources\MsVideo"
MSMMDriver              ="Software\Microsoft\Windows NT\CurrentVersion\drivers"
MSMediaInterfaces       ="System\CurrentControlSet\Control\MediaInterfaces"
MSMediaSets             ="System\CurrentControlSet\Control\MediaSets"

; For uninstallation only
DELETE_CLASS_IF_NO_INST =1

;-------------------------------------
; User-definable - hardware dependent
;-------------------------------------
CTConfigRegistry  ="Software\Creative Tech\Web Cameras\VF0080"
szUninstall       ="Creative VF0080"
szVfwKey          ="V0080VFW"
szVidServiceName  ="V0080Dev"
szVfwBaseFileName ="V0080Vfw"

CamM5603C.DeviceDesc   ="Creative WebCam Live! Pro"
CamM5603C.DeviceDesc2  ="Creative WebCam Live! Effects"
CAMERA_ENV_REGISTRY    ="Software\Creative Tech\Web Cameras\VF0080"
CAMERA_DEBUG_REGREPORT ="Software\Creative Tech\Web Cameras\VF0080\RegReport"
CAMERA_REGISTER_ADDR   ="Software\Creative Tech\Web Cameras\VF0080\RegisterAddr"
CAMERA_EEPROM_SETTING  ="Software\Creative Tech\Web Cameras\VF0080\EEPROM"

szSTIDriver.GUID          ="{229EDE07-F2F5-4a50-81D8-1413B1D94F91}"
