;---------------------------------------------------------------------------
; VF0400.UNS -- Creative Camera Model Number V0400 uninstallation
; Copyright (c) 2009 Creative Technology Ltd. All rights reserved.
;---------------------------------------------------------------------------

[Version]
Signature = "$Windows NT$"
 
[Main.Uninstall.Devices]
USB\VID_041E&PID_4061&MI_00
 
[Main.Uninstall.Opt]
Common_Uninstall_Section=Cam.Uninstall
Device_Desc_For_Messages="Creative Live! Cam Notebook Pro"
 
[DestinationDirs]
DefaultDestDir=11
Cam.CopyKnlDrv=10,system32\drivers
Cam.CopyUserDrv=11
Cam.CopyTwnFiles=10,Twain_32\Creative\VF0400
Cam.CopyWinFiles=10

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

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

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

[Cam.CopyKnlDrv]
V0400Vid.sys
V0400Afx.sys
V0400Pc.bmp

[Cam.AMD64.CopyKnlDrv]
V0400Vid.sys
V0400Afx.sys
V0400Pc.bmp

[Cam.CopyUserDrv]
V0400Hwx.dll
V0400Pin.dll
V0400Ext.ax
V0400Ext.crl
CtCamPin.crl
CtCamMgr.dll
CTAFX32.dll

[Cam.AMD64.CopyUserDrv]
V0400Hwx.dll
V0400Pin.dll
V0400Ext.ax
V0400Ext.crl
CtCamPin.crl
CtCamMgr.dll

[Cam.AMD64WOW.CopyUserDrv]
CtCamMgr.dll
V0400Hwx.dll
V0400Pin.dll
V0400Ext.ax
V0400Ext.crl
CTAFX64.dll

[Cam.CopyTwnFiles]
CtTwain.dll
CtTwain.crl
V0400Twn.ds
 
[Cam.CopyWinFiles]
VF0400.uns

[Cam.AMD64.CopyWinFiles]
VF0400.uns

[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%

[Cam.Vfw.DelReg.NT]

[Ctl.DelTemPreInsDir]
V0400Vid.inf
V0400Aud.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_4061&MI_01
 
[Strings]
MSUninstall       ="Software\Microsoft\Windows\CurrentVersion\Uninstall"
MSMediaResourcesMSVideo="System\CurrentControlSet\Control\MediaResources\MsVideo"
MSVideoCapturePin.GUID ="{42F7D08E-0E49-45fe-AC58-7016127682D6}"
MSUninstallWow64       ="SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall"

CTConfigRegistry  ="Software\Creative Tech\Web Cameras\VF0400"
szUninstall       ="Creative VF0400"
szDeviceDesc      ="Live! Cam Notebook Pro (VF0400)"
