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

[Main.Uninstall.Devices]
USB\VID_041E&PID_4064

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

[DestinationDirs]
DefaultDestDir=11
Cam.CopyKernDrivers=10,system32\drivers
Cam.CopyUserDrivers=11
Cam.CopyWinFiles=10
Cam.CopyTwainFiles=10,twain_32\Creative\VF0420
Cam.Setting.CopyFiles=11

Cam.AMD64.CopyUserDrivers=11
Cam.AMD64.CopyWinFiles=10
Cam.AMD64.CopyKernDrivers=10,system32\drivers
Cam.AMD64WOW.CopyUserDrivers=10,SysWow64
; ----------------------------- FILES ---------------------------------

[Cam.CopyWinFiles]
VF0420.uns
V0420Mon.exe

[Cam.AMD64.CopyWinFiles]
VF0420.uns
V0420Mon.exe

[Cam.CopyUserDrivers]
CtCamMgr.dll
CtCamPin.crl
V0420Hwx.dll
V0420Pin.dll
V0420Ext.ax
V0420Ext.crl
V0420CVW.dll
V0420CVW.crl
V0420Cvw.bff
V0420PC.bmp
V0420PC.jpg
cximage.dll

[Cam.AMD64.CopyUserDrivers]
CtCamMgr.dll
V0420Hwx.dll
V0420Pin.dll
CtCamPin.crl
V0420Ext.ax
V0420Ext.crl
;;WebCamFT.chm

[Cam.AMD64WOW.CopyUserDrivers]
CtCamMgr.dll
V0420Ext.ax
V0420Ext.crl
V0420Hwx.dll
V0420Cvw.dll
V0420Cvw.crl
V0420Cvw.bff
cximage.dll
;;WebCamFT.chm

[Cam.CopyTwainFiles]
V0420Twn.ds
CtTwain.crl
CtTwain.dll
HookWnd.dll

[Cam.CopyKernDrivers]
V0420Vid.sys
;;V0420Cmd.sys

[Cam.AMD64.CopyKernDrivers]
V0420Vid.sys

[Cam.Setting.CopyFiles]
V0260530.set

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

[CtlCam.Uninstall]
DelFiles=Cam.CopyKernDrivers,Cam.CopyUserDrivers,Cam.CopyTwainFiles,Cam.CopyWinFiles,Cam.Setting.CopyFiles
DelReg=Cam.DelReg
ctDelDevices=     Cam.DelDevices
ctDelCatFile=     Cam.DelCatFile
ctDelDevClassInst=Cam.DelDevClass

[CtlCam.Uninstall.AMD64]
DelFiles=Cam.AMD64.CopyKernDrivers,Cam.AMD64.CopyUserDrivers,CtlCam.CopyTwainFiles,Cam.AMD64WOW.CopyUserDrivers,Cam.AMD64.CopyWinFiles
DelReg=Cam.DelReg
DelService=       %szVidServiceName%,%SERVICE_STOP_SERVICE%,,
ctDelDevices=     Cam.DelDevices
ctDelDevClassInst=Cam.DelDevClass
ctDelTempPreInsDir=Cam.DelDir

[CtlCam.Uninstall.NT]
DelFiles=Cam.CopyKernDrivers,Cam.CopyUserDrivers,Cam.CopyTwainFiles,Cam.CopyWinFiles,Cam.Setting.CopyFiles
DelReg=Cam.DelReg
DelService=       %szVideoServiceName%,%SERVICE_STOP_SERVICE%,,
ctDelDevices=     Cam.DelDevices
ctDelDevClassInst=Cam.DelDevClass
ctDelTempPreInsDir=Cam.DelDir

[Cam.DelReg]
HKLM,%szConfigRegistry%
HKLM,%MSUninstall%\%szUninstall%
;HKCR,CLSID\%szCustomInterface.GUID%
;HKLM,%MSMediaSets%\%szCustomInterface.GUID%
;HKLM,%MSMediaInterfaces%\%szCustomInterface.GUID%
HKLM,Software\Microsoft\Conferencing\CaptureDefaultFormats\%szDeviceDesc%
HKLM,Software\Microsoft\Conferencing\CaptureDevices\%szDeviceDesc%

;**************************************************************************

HKLM,"Software\OmniVision\PC Camera"

;**************************************************************************

[Cam.DelDevices]
USB\VID_041E&PID_4064
USB\VID_041E&PID_4064&MI_00
USB\VID_041E&PID_4064&MI_01

[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]
V0420Vid.inf

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

[Strings]
SERVICE_STOP_SERVICE=0x200

MSMediaResMSVideo      ="SYSTEM\CurrentControlSet\Control\MediaResources\msvideo"
MSUninstall            ="SOFTWARE\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"
MSUninstallWow64       ="SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall"

; For uninstallation only
DELETE_CLASS_IF_NO_INST=1

;-------------------------------------
; User-definable - hardware dependent
;-------------------------------------
szDeviceDesc            ="Live! Cam Vista IM (VF0420)"
szConfigRegistry        ="Software\Creative Tech\Web Cameras\VF0420"

szUninstall             ="Creative VF0420"
szVideoServiceName      ="V0420VID"

; Custom Property pages
;szCustomInterface.GUID         ="{55C2D65B-947D-4983-8BEA-19CBBCB814F6}"
