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

[Main.Uninstall.Devices]
USB\VID_041E&PID_4055
USB\VID_041E&PID_4056

[Main.Uninstall.Opt]
Common_Uninstall_Section=CtlCam.Uninstall
Device_Desc_For_Messages="Creative Live! Cam Video IM Pro"

[DestinationDirs]
DefaultDestDir=11
Cam.CopyKernDrivers=10,system32\drivers
Cam.CopyUserDrivers=11
Cam.CopyWinFiles=10
Cam.CopyTwainFiles=10,twain_32\Creative\VF0230
Cam.CopyVfwDriver=11
Cam.WNT.CopyVfwDriver=11
Cam.AMD64WOW.CopyUserDrivers=10,SysWow64
CtlCam.DevBin           =10,system32\drivers

; ----------------------------- FILES ---------------------------------

[Cam.CopyWinFiles]
VF0230.uns
V0230Cfg.exe
CtDrvIns.exe
V0230Mon.exe

[Cam.CopyKernDrivers]
V0230VID.sys
V0230Vfx.sys
v0230stb.sys

[Cam.CopyUserDrivers]
CtCamMgr.dll
CtCamPin.crl
V0230Ext.ax
V0230Ext.crl
V0230Pin.dll
V0230Hwx.dll
CtCamPin.crl
V0230CVW.dll
V0230CVW.crl
V0230Cvw.bff

[Cam.CopyTwainFiles]
V0230Twn.ds
CtTwain.bff
CtTwain.crl
CtTwain.dll
HookWnd.dll
Gdiplus.dll

[Cam.CopyVfwDriver]
V0230Vfw.drv
Msh263.drv

[Cam.WNT.CopyVfwDriver]
V0230Vfw.dll

[Cam.AMD64WOW.CopyUserDrivers]
CtCamMgr.dll
CtCamPin.crl
V0230Ext.ax
V0230Ext.crl
V0230Hwx.dll
V0230Vfw.dll
V0230CVW.dll
V0230CVW.crl
V0230Cvw.bff

[CtlCam.DevBin]
V0230FwH.bin
V0230FwF.bin

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

[CtlCam.Uninstall]
DelFiles=Cam.CopyKernDrivers,Cam.CopyUserDrivers,Cam.CopyTwainFiles,Cam.CopyWinFiles,Cam.CopyVfwDriver,CtlCam.DevBin
DelReg=Cam.DelReg
UpdateInis=       Cam.DelIni
ctDelDevices=     Cam.DelDevices
ctDelCatFile=     Cam.DelCatFile
ctDelDevClassInst=Cam.DelDevClass

[CtlCam.Uninstall.NT]
DelFiles=Cam.CopyKernDrivers,Cam.CopyUserDrivers,Cam.CopyTwainFiles,Cam.CopyWinFiles,Cam.WNT.CopyVfwDriver,CtlCam.DevBin
DelReg=Cam.DelReg
DelService=       %szVideoServiceName%,%SERVICE_STOP_SERVICE%,,
DelService=       %szFliterServiceName%,%SERVICE_STOP_SERVICE%,,
UpdateInis=       Cam.DelIni
ctDelDevices=     Cam.DelDevices
ctDelDevClassInst=Cam.DelDevClass
ctDelTempPreInsDir=Cam.DelDir

[CtlCam.Uninstall.AMD64]
DelFiles=Cam.CopyKernDrivers,Cam.AMD64.CopyUserDrivers,Cam.CopyUserDrivers,Cam.CopyTwainFiles,Cam.CopyWinFiles,Cam.WNT.CopyVfwDriver,Cam.AMD64WOW.CopyUserDrivers,CtlCam.DevBin
DelReg=Cam.DelReg
DelService=       %szVideoServiceName%,%SERVICE_STOP_SERVICE%,,
DelService=       %szFliterServiceName%,%SERVICE_STOP_SERVICE%,,
UpdateInis=       Cam.DelIni
ctDelDevices=     Cam.DelDevices
ctDelDevClassInst=Cam.DelDevClass
ctDelTempPreInsDir=Cam.DelDir


[Cam.DelReg]
HKLM,%szConfigRegistry%
HKLM,%MSUninstall%\%szUninstall%
HKLM,%MSUninstallWow64%\%szUninstall%
HKLM,%MSMediaResMSVideo%\MSVideo.%szVfwKey%
HKLM,%MSMediaSets%\%szCustomInterface.GUID%
HKLM,%MSMediaInterfaces%\%szCustomInterface.GUID%
HKLM,%MSRun%,%szRegStiApp%
HKLM,%MSCaptureDevices%\%szDeviceDesc%
HKLM,%MSCaptureDefaultFormats%\%szDeviceDesc%
HKLM,Software\Microsoft\Conferencing\CaptureDevices\%szDeviceDesc%

[Cam.DelIni]
system.ini,drivers,"MSVideo.%szVfwKey%=%szVfwBaseFileName%.drv",,0
system.ini,drivers32,"VIDC.I420=msh263.drv",,0

[Cam.DelDevices]
USB\VID_041E&PID_4055
USB\VID_041E&PID_4056

[Cam.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
{fb6c428a-0353-11d1-905f-0000c0cc16ba},0
{6bdd1fc4-810f-11d0-bec7-08002be2092f},0
{659be370-ac15-45fe-9eda-39cf8f95862e},0
{6bdd1fc6-810f-11d0-bec7-08002be2092f},0

[Cam.DelDir]
V0230Dev.inf

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

[Strings]
SERVICE_STOP_SERVICE=0x200

MSMediaResMSVideo      ="SYSTEM\CurrentControlSet\Control\MediaResources\msvideo"
MSUninstall            ="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
MSUninstallWow64       ="SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall"
MSMediaSets            ="System\CurrentControlSet\Control\MediaSets"
MSMediaInterfaces      ="System\CurrentControlSet\Control\MediaInterfaces"
MSMediaCategories      ="System\CurrentControlSet\Control\MediaCategories"
MSRunOnce              ="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
MSRun                  ="SOFTWARE\Microsoft\Windows\CurrentVersion\Run"
MSVideoCapturePin.GUID ="{FB6C4281-0353-11d1-905F-0000C0CC16BA}"

MSCaptureDevices       ="Software\Microsoft\Conferencing\CaptureDevices"
MSCaptureDefaultFormats="Software\Microsoft\Conferencing\CaptureDefaultFormats"
; For uninstallation only
DELETE_CLASS_IF_NO_INST=1

;-------------------------------------
; User-definable - hardware dependent
;-------------------------------------
szDeviceDesc            ="Live! Cam Video IM Pro"
szConfigRegistry        ="Software\Creative Tech\Web Cameras\VF0230"
szRegStiApp             =""

szUninstall             ="Creative VF0230"
szVfwKey                ="V0230VFW"
szVideoServiceName      ="V0230VID"
szVfwBaseFileName       ="V0230Vfw"
szFliterServiceName     ="V0230Vfx"


