;---------------------------------------------------------------------------
; PD0040.UNS -- Creative Video Blaster WebCam Camera uninstallation
; Copyright (c) 2000-2001 Creative Technology Ltd. All rights reserved.
;---------------------------------------------------------------------------

[Version]
Signature="$Windows NT$"
 
[DestinationDirs]
DefaultDestDir=11
CtlCam.CopyKernelDrivers=10,System32\Drivers
CtlCam.CopyUserDrivers=11
CtlCam.CopyWinFiles=10
CtlCam.CopyTwainFiles=10,TWAIN_32\Creative
CtlCam.CopySettingFiles=10,OvtCam
CtlCam.CopyVfwDriver=11
CtlCam.W2K.CopyVfwDriver=11

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

[CtlCam.CopyKernelDrivers]
wcvid.sys
wccam.sys

[CtlCam.CopyUserDrivers]
wcusd.dll 
wcvex.dll 
wcdsx.ax
wcpin.dll
wcpin.crl
wccfg.crl

[CtlCam.CopyTwainFiles]
wctwn.ds

[CtlCam.CopyWinFiles]
vfwupd.exe
pd0040.uns
wccfg.exe

[CtlCam.CopyVfwDriver]
wcvfw.drv

[CtlCam.W2K.CopyVfwDriver]
wcvfw.dll

[CtlCam.CopySettingFiles]
66308.set
66308ae.set
66308af.set


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

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

[CtlCam.Uninstall.NT]
DelFiles=CtlCam.CopyKernelDrivers,CtlCam.CopyUserDrivers,CtlCam.CopyTwainFiles,CtlCam.CopyWinFiles,CtlCam.W2K.CopyVfwDriver,CtlCam.CopySettingFiles
DelReg=CtlCam.DelReg,CtlCam.Vfw.DelReg
DelService=%szVideoServiceName%,%SERVICE_STOP_SERVICE%,,
UpdateInis=CtlCam.DelIni
ctDelCatFile=CtlCam.DelCatFile

[CtlCam.DelIni]
system.ini,drivers,"MSVideo.%szVfwKey%=wcvfw.drv",,0

[CtlCam.DelCatFile]
pd0040.cat

[CtlCam.DelReg]
HKLM,%szConfigReg2%
HKLM,%szConfigReg%
HKLM,%MsUninstall%\%szUninstall%
HKCR,CLSID\%szSTIDevice.GUID%
HKCR,CLSID\%szCustomInterface.GUID%
HKCR,CLSID\%szCustomDevSetting.GUID%
HKCR,CLSID\%szCustomBandingSetting.GUID%
HKLM,%MsMediaSets%\%szCustomInterface.GUID%

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

[CtlCam.DelDevClass]
{65E8773D-8F56-11D0-A3B9-00A0C9223196},0
{6994ad05-93ef-11d0-a3cc-00a0c9223196},0
{a5dcbf10-6530-11d2-901f-00c04fb951ed},0
{6bdd1fc4-810f-11d0-bec7-08002be2092f},0
{fb6c428a-0353-11d1-905f-0000c0cc16ba},0


; ---------------------------- Strings ------------------------------------

[Strings]
SERVICE_STOP_SERVICE=0x200

MsUninstall            ="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
MsMediaResourcesMSVideo="SYSTEM\CurrentControlSet\Control\MediaResources\msvideo"
MSMediaSets            ="SYSTEM\CurrentControlSet\Control\MediaSets"

;----------------
; User-definable
;----------------
szCamSetting      ="CameraSetting"
szConfigReg2      ="Software\Creative Tech\Video Blaster\WebCam"
szConfigReg       ="Software\OVTUsbCamera"
szLaunchApp       ="Open Application"
szNewPicture      ="New Picture Captured"
szStillImageDesc  ="Creative Video Blaster WebCam Still Image USD"
szStiAppName      ="WebCam Control"
szTwainDSDesc     ="Video Blaster WebCam"
szUninstall       ="Creative Video Blaster WebCam"
szUninstallDisplay="Creative Video Blaster WebCam Driver"
szVfwDeviceDesc   ="Video Blaster WebCam (VFW)"
szVfwKey          ="WebCam"
szVideoServiceName=CTL518
szSTIDevice.GUID  ="{af9c03a3-6f93-11d4-a3d5-0050047a963e}"

; Custom Property pages
szDSExtPageFile                ="WcDsx.ax"
szPlugIn_CustomCameraProp      ="PD0040 Custom Camera Interface handler"
szPropPage_CustomDevSetting    ="PD0040 Custom Device Setting Property Page"
szPropPage_CustomBandingSetting="PD0040 Custom Banding Frequency Property Page"
szCustomInterface.GUID         ="{6c2c6c01-6f7e-11d4-a3d5-0050047a963e}"
szCustomDevSetting.GUID        ="{94781a20-6f9b-11d4-9b97-0080c8e11d80}"
szCustomBandingSetting.GUID    ="{94781a21-6f9b-11d4-9b97-0080c8e11d80}"
