;---------------------------------------------------------------------------
; VF0470.UNS -- Creative Camera Model Number V0470 uninstallation
; Copyright (c) 2009 Creative Technology Ltd. All rights reserved.
;---------------------------------------------------------------------------
[Version]
Signature = "$Windows NT$"

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

[Main.Uninstall.Opt]
Common_Uninstall_Section=Cam.Uninstall
Device_Desc_For_Messages="Creative Live! Cam Notebook (VF0470)"

[DestinationDirs]
DefaultDestDir=11
Cam.CopyKnlDrv=10,system32\drivers
Cam.CopyUserDrv=11
Cam.CopyTwnFiles=10,Twain_32\Creative\VF0470
Cam.CopyWinFiles=10

Cam.AMD64.CopyKnlDrv=10,system32\drivers
Cam.AMD64.CopyUserDrv=11
Cam.AMD64.CopyWinFiles=10
Cam.AMD64WOW.CopyUserDrivers=10,SysWow64

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

[Cam.CopyKnlDrv]
V0470Vid.sys
V0470PC.bmp

[Cam.AMD64.CopyKnlDrv]
V0470Vid.sys
V0470PC.bmp

[Cam.CopyUserDrv]
CtCamPin.crl
CtCamMgr.dll
V0470Hwx.dll
V0470Pin.dll
V0470Ext.ax
V0470Ext.crl
V0470Cvw.dll
V0470Cvw.crl
V0470Cvw.bff
cximage.dll


[Cam.AMD64.CopyUserDrv]
CtCamPin.crl
CtCamMgr.dll
V0470Hwx.dll
V0470Pin.dll
V0470Ext.ax
V0470Ext.crl

[Cam.AMD64WOW.CopyUserDrivers]
CtCamMgr.dll
V0470Hwx.dll
V0470Ext.ax
V0470Ext.crl
V0470Cvw.dll
V0470Cvw.crl
V0470Cvw.bff
cximage.dll

[Cam.CopyTwnFiles]
CtTwain.bff
CtTwain.crl
CtTwain.dll
GdiPlus.dll
HookWnd.dll
V0470Twn.ds

[Cam.CopyWinFiles]
V0470Mon.exe
VF0470.uns

[Cam.AMD64.CopyWinFiles]
V0470Mon.exe
VF0470.uns

;----------------------- UNINSTALLATION -------------------------------------
[Cam.Uninstall]
; blank

[Cam.Uninstall.NT]
DelFiles=Cam.CopyKnlDrv,Cam.CopyUserDrv,Cam.CopyTwnFiles,Cam.CopyWinFiles
DelReg=Cam.DelReg,Cam.Uns.DelReg.NT
DelService=%szVidServiceName%,0x200
CtDelTempPreInsDir=Ctl.DelTemPreInsDir
CtDelDevClassInst=Cam.DelClassInst
CtDelDevices=Cam.DelDevices

[Cam.Uninstall.AMD64]
DelFiles=Cam.AMD64.CopyKnlDrv,Cam.AMD64.CopyUserDrv,Cam.CopyTwnFiles,Cam.AMD64.CopyWinFiles,Cam.AMD64WOW.CopyUserDrivers
DelReg=Cam.DelReg,Cam.Uns.DelReg.NT,Cam.DelReg.NTAMD64
DelService=%szVidServiceName%,0x200
CtDelTempPreInsDir=Ctl.DelTemPreInsDir
CtDelDevClassInst=Cam.DelClassInst
CtDelDevices=Cam.DelDevices


[Cam.DelReg]
HKLM,%CTConfigRegistry%
HKLM,Software\Microsoft\Conferencing\CaptureDefaultFormats\%szDeviceDesc%
HKLM,Software\Microsoft\Conferencing\CaptureDevices\%szDeviceDesc%

[Cam.Uns.DelReg]
HKLM,%MSUninstall%\%szUninstall%

[Cam.Uns.DelReg.NT]
HKLM,%MSUninstall%\%szUninstall%

[Cam.DelReg.NTAMD64]
HKLM,%MSWow64Uninstall%\%szUninstall%

[Ctl.DelTemPreInsDir]
V0470Vid.inf

[Cam.DelClassInst]
{ff596e7c-6163-48b5-852f-e45752eed16f},1
{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.DelDevices]
USB\VID_041E&PID_4068
USB\VID_041E&PID_4068&MI_00
USB\VID_041E&PID_4068&MI_01

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

CTConfigRegistry  ="Software\Creative Tech\Web Cameras\VF0470"
szUninstall       ="Creative VF0470"
szDeviceDesc      ="Live! Cam Notebook (VF0470)"
szVidServiceName  ="VF0470Vid"
