;---------------------------------------------------------------------------
; VF0250.UNS -- Creative Live! Cam Notebook uninstallation
; Copyright (c) 2004 Creative Technology Ltd. All rights reserved.
;---------------------------------------------------------------------------
[Version]
Signature="$CHICAGO$"

[Main.Uninstall.Devices]
USB\VID_041E&PID_4051,CtlCam.Uninstall

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

[DestinationDirs]
DefaultDestDir=11
CtlCam.CopyKernelDrivers=10,system32\drivers
CtlCam.CopyUserDrivers=11
CtlCam.W2K.CopyWinFiles=10
CtlCam.CopyWinFiles=10
CtlCam.CopyTwainFiles=10,twain_32\Creative\VF0250
CtlCam.CopyVfwDriver=11
CtlCam.W2K.CopyVfwDriver=11

Cam.AMD64.CopyUserDrivers=11
Cam.AMD64.CopyWinFiles=10
Cam.AMD64.CopyKernDrivers=10,system32\drivers
Cam.AMD64WOW.CopyUserDrivers=10,SysWow64
; ----------------------------- FILES ---------------------------------
[CtlCam.CopyKernelDrivers]
V0250Dev.sys
V0250Stb.sys
V0250Vfx.sys

[Cam.AMD64.CopyKernDrivers]
V0250Dev.sys
V0250Vfx.sys

[CtlCam.CopyUserDrivers]
V0250Hwx.dll
V0250Pin.dll   ; from Creative
CtCamPin.crl   ; from Creative
V0250Ext.ax    ; from Creative
V0250Ext.crl   ; from Creative
V0250Cvw.dll
V0250Cvw.crl
V0250Cvw.bff
V0250sti.dll
CtCamMgr.dll
;;V0250Aor.dll

[Cam.AMD64.CopyUserDrivers]
CtCamMgr.dll
CtCamPin.crl
V0250Hwx.dll
V0250Pin.dll
V0250Ext.ax
V0250Ext.crl
V0250Srv.dll
V0250Vfw.dll

[Cam.AMD64WOW.CopyUserDrivers]
CtCamMgr.dll
V0250Ext.ax
V0250Ext.crl
V0250Hwx.dll
V0250Pin.dll
V0250Srv.exe
V0250Aor.dll
V0250Vfw.dll
V0250Cvw.dll
V0250Cvw.crl
V0250Cvw.bff
;;VF0250FT.chm

[CtlCam.CopyTwainFiles]
V0250Twn.ds
CtTwain.bff
CtTwain.crl
CtTwain.dll
HookWnd.dll
Gdiplus.dll

[CtlCam.W2K.CopyWinFiles]
V0250Cfg.exe   ; from Creative
VF0250.uns     ; from Creative
V0250Mon.exe

[CtlCam.CopyWinFiles]
V0250Cfg.exe   ; from Creative
VF0250.uns    ; from Creative
Vfwupd.exe
V0250Mon.exe

[Cam.AMD64.CopyWinFiles]
V0250Cfg.exe
VF0250.uns
V0250Mon.exe

[CtlCam.CopyVfwDriver]
V0250Vfw.drv   ; from Creative

[CtlCam.W2K.CopyVfwDriver]
V0250Vfw.dll   ; from Creative
;----------------------- UNINSTALLATION -------------------------------------

[CtlCam.Uninstall]
DelFiles=CtlCam.CopyKernelDrivers,CtlCam.CopyUserDrivers,CtlCam.CopyTwainFiles,CtlCam.CopyWinFiles,CtlCam.CopyVfwDriver
DelReg=CtlCam.DelReg,CtlCam.Vfw.DelReg
UpdateInis=CtlCam.DelIni
ctDelDevClassInst=CtlCam.DelDevClass
ctDelCatFile=CtlCam.DelCatFile

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

[CtlCam.Uninstall.NT]
DelFiles=CtlCam.CopyKernelDrivers,CtlCam.CopyUserDrivers,CtlCam.CopyTwainFiles,CtlCam.W2K.CopyWinFiles,CtlCam.W2K.CopyVfwDriver
DelReg=CtlCam.DelReg,CtlCam.Vfw.DelReg
DelService=%szVidServiceName%,%SERVICE_STOP_SERVICE%,,
DelService= %FXServiceName%,%SERVICE_STOP_SERVICE%,,
UpdateInis=CtlCam.DelIni
ctDelDevClassInst=CtlCam.DelDevClass
ctDelCatFile=CtlCam.DelCatFile
ctDelDevices=CtlCam.DelDevices
ctDelTempPreInsDir=CtlCam.DelDir


[CtlCam.DelReg]
HKLM,%szConfigRegistry%
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\%szUninstall%
HKLM,%MSUninstallWow64%\%szUninstall%
HKCR,CLSID\%szSTIDevice.GUID%
HKCR,CLSID\%szCustomDevSetting.GUID%
HKCR,CLSID\%szCustomBandingSetting.GUID%
HKCR,CLSID\%szCustomStreamConfig.GUID%
HKLM,%MSRunOnce%,%szConfigAppRegistry%
HKCR,CLSID\{C90E7D2D-D01B-4ece-A9A8-4757D7EFFF1A}
HKLM,System\CurrentControlSet\Control\MediaSets\%szCustomInterface.GUID%
HKLM,System\CurrentControlSet\Control\MediaInterfaces\%szCustomInterface.GUID%
HKLM,%MSMediaResourcesMSVideo%\MSVideo.%szVfwKey%
HKCR,CLSID\{9C757C5A-8D95-453c-8284-906A68DC53FA}
HKLM,Software\Microsoft\Conferencing\CaptureDefaultFormats\%szDeviceDesc%
HKLM,Software\Microsoft\Conferencing\CaptureDevices\%szDeviceDesc%

[CtlCam.DelIni]
system.ini,drivers,"MsVideo.%szVfwKey%=V0250vfw.drv",,0

[CtlCam.DelCatFile]
V0250.cat

[CtlCam.Vfw.DelReg]
HKLM,%MSMediaResMSVideo%\MSVideo.%szVfwKey%

[CtlCam.DelDir]
V0250Dev.inf

[CtlCam.DelDevClass]
{ff596e7c-6163-48b5-852f-e45752eed16f},%DELETE_CLASS_IF_NO_INST%
{65E8773D-8F56-11D0-A3B9-00A0C9223196},0
{6994ad05-93ef-11d0-a3cc-00a0c9223196},0
{6bdd1fc6-810f-11d0-bec7-08002be2092f},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

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

[Strings]
SERVICE_STOP_SERVICE=0x200
MSMediaResMSVideo      ="SYSTEM\CurrentControlSet\Control\MediaResources\msvideo"
MSRunOnce              ="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
MSRun                  ="SOFTWARE\Microsoft\Windows\CurrentVersion\Run"
MSMediaResourcesMSVideo="SYSTEM\CurrentControlSet\Control\MediaResources\msvideo"
MSVideoCapturePin.GUID ="{FB6C4281-0353-11d1-905F-0000C0CC16BA}"
MSUninstallWow64       ="SOFTWARE\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall"

; For uninstallation only
DELETE_CLASS_IF_NO_INST=1

;-------------------------------------
; User-definable - hardware dependent
;-------------------------------------
szConfigRegistry        ="Software\Creative Tech\Web Cameras\VF0250"

szUninstall             ="Creative VF0250"
szVfwKey                ="VF0250VFW"
szVidServiceName        ="V0250Dev"
szVfwBaseFileName       ="V0250Vfw"
szMJPGcodec             ="V0250JPG.dll"
FXServiceName 		="V0250Vfx"
szDeviceDesc	="Live! Cam Notebook Pro"

; Custom Property pages
szCustomInterface.GUID           ="{9C757C5A-8D95-453c-8284-906A68DC53FA}"
szSTIDevice.GUID                 ="{80989FCE-A58A-4902-B5C8-37410E34023F}"
szSTIEventNewPic.GUID            ="{E76F3028-CA52-468e-B06E-2F32E2F6B59E}"
szSTIEventLaunch.GUID            ="{E76F3027-CA52-468e-B06E-2F32E2F6B59E}"

szCustomStreamConfig.GUID        ="{2C9ECE97-C894-4db1-B5BD-3A724D377371}"
szCustomDevSetting.GUID          ="{5F9C6883-0095-4f11-BBE4-3D212CBBC7D0}"
szCustomBandingSetting.GUID      ="{D4298A24-B7EB-4c63-9C66-19B1EB794EF8}"
