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

[Version]
Signature="$Windows NT$"

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

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

[CtlCam.CopyBulkDrivers]
wgoltbuk.sys

[CtlCam.CopyKernelDrivers]
wgoltvid.sys
wgolthal.sys

[CtlCam.CopyUserDrivers]
wgolthal.dll
wgoltsti.dll
wgoltres.dll
wgoltres.crl
wgoltfsd.dll
wgoltvex.dll
wgoltext.crl
Wgoltpin.dll
wgoltpin.crl
wgoltdsx.ax

[CtlCam.CopyTwainFiles]
wgolttwn.ds
wgolttwn.crl
cttwnui.crl
cttwnui.dll
ctskin.dll
ctspea32.dll
ctres32.dll

[CtlCam.W2K.CopyWinFiles]
wgoltsvc.exe
pd0080.uns

[CtlCam.CopyWinFiles]
ctdrvins.exe
pd0080.uns

[CtlCam.CopyVfwDriver]
wgoltvfw.drv

[CtlCam.W2K.CopyVfwDriver]
wgoltvfw.dll

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

[CtlCam.Device.Uninstall]
DelFiles=         CtlCam.CopyKernelDrivers,CtlCam.CopyUserDrivers,CtlCam.CopyTwainFiles,CtlCam.CopyWinFiles,CtlCam.CopyVfwDriver,CtlCam.CopyBulkDrivers
DelReg=           CtlCam.DelReg,CtlCam.Vfw.DelReg,CtlCam.Service.DelReg
UpdateInis=       CtlCam.DelIni
ctDelDevices=     CtlCam.DelDevices
ctDelRunApp=      CtlCam.DelRunApp
ctDelDevClassInst=CtlCam.DelDevClass
ctDelCatFile=     CtlCam.DelCatFile

[CtlCam.Device.Uninstall.NT]
DelFiles=         CtlCam.CopyKernelDrivers,CtlCam.CopyUserDrivers,CtlCam.CopyTwainFiles,CtlCam.W2K.CopyWinFiles,CtlCam.W2K.CopyVfwDriver,CtlCam.CopyBulkDrivers
DelReg=           CtlCam.DelReg,CtlCam.Vfw.DelReg
DelService=       %szVidServiceName%,%SERVICE_STOP_SERVICE%,,
DelService=       %szHalServiceName%,%SERVICE_STOP_SERVICE%,,
DelService=       %szBulkServiceName%,%SERVICE_STOP_SERVICE%,,
UpdateInis=       CtlCam.DelIni
ctDelRunApp=      CtlCam.DelRunApp
ctDelDevices=     CtlCam.DelDevices
ctDelCatFile=     CtlCam.DelCatFile

[CtlCam.DelReg]
HKLM,%szConfigRegistry%
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\%szUninstall%
HKCR,CLSID\%szSTIDevice.GUID%
HKCR,CLSID\%szCustomStreamConfig.GUID%
HKCR,CLSID\%szCustomInterface.GUID%
HKCR,CLSID\%szCustomDevSetting.GUID%
HKCR,CLSID\%szCustomBandingSetting.GUID%
HKLM,System\CurrentControlSet\Control\MediaCategories\%MSVideoCapturePin.GUID%\PropertyPages\%szCustomStreamConfig.GUID%
HKLM,System\CurrentControlSet\Control\MediaSets\%szCustomInterface.GUID%

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

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

[CtlCam.DelDevices]
USB\VID_041E&PID_4005
USB\VID_041E&PID_4005&MI_01

[CtlCam.DelRunApp]
%szStiRunAppDesc%,WgoltSvcClass

[CtlCam.Service.DelReg]
HKLM,System\CurrentControlSet\Services\%szHalServiceName%
HKLM,System\CurrentControlSet\Services\%szBulkServiceName%

[CtlCam.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
{4299b540-66c0-11d3-9a79-0080c83c53db},0
{521474e3-0b0a-4bea-8fab-27488b87ad0a},0
{a51d1ec6-535d-11d4-9a79-0080c83c53db},0

[CtlCam.DelCatFile]
pd0080.cat

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

[Strings]
SERVICE_STOP_SERVICE=0x200

MSMediaResourcesMSVideo="SYSTEM\CurrentControlSet\Control\MediaResources\msvideo"
MSVideoCapturePin.GUID ="{FB6C4281-0353-11d1-905F-0000C0CC16BA}"

; For uninstallation only
DELETE_CLASS_IF_NO_INST=1

;-------------------------------------
; User-definable - hardware dependent
;-------------------------------------
szConfigRegistry     ="Software\Creative Tech\Video Blaster\WebCam Go ES"
szCamConfigRegistry  ="CamConfiguration"
szCreateDeviceName   ="\\.\PCAMLTSTI"
szDeviceChange.GUID   ="{F75363A2-5729-11d4-95C3-00A0C98EA471}"
szDShowDeviceDesc    ="Video Blaster WebCam Go ES (WDM)"
szLaunchApp          ="Open Application"
szNewPicture         ="New Picture Captured"
szVidServiceName     ="WGOLTVID"
szHalServiceName     ="WCGOLTHAL"
szBulkServiceName    ="WCGOLTBUK"
szStiAppName         ="WebCam Go Control"
szStillImageDesc     ="Video Blaster WebCam Go ES Still Image USD"
szStiRunAppDesc      ="WebCam Go ES Sti Service Application"
szTwainDSDesc        ="Video Blaster WebCam Go ES"
szUninstall          ="Creative Video Blaster WebCam Go ES"
szUninstallDisplay   ="Creative Video Blaster WebCam Go ES Driver"
szVfwKey             ="WebCamGoES"
szVfwDeviceDesc      ="Video Blaster WebCam Go ES (VFW)"
szDiskName           ="Creative Video Blaster WebCam Go ES Driver Disk"
szSTIDevice.GUID     ="{2C2EE761-5654-11d4-95C3-00A0C98EA471}"

; Custom Property pages
szDSExtPageFile                ="wgoltdsx.ax"
szPlugIn_CustomCameraProp      ="PD0080 Custom Camera Interface handler"
szPropPage_CustomStreamConfig  ="PD0080 Custom Video Stream Config Property Page"
szPropPage_CustomDevSetting    ="PD0080 Custom Device Setting Property Page"
szPropPage_CustomBandingSetting="PD0080 Custom Banding Frequency Property Page"
szCustomInterface.GUID         ="{A26273B8-C41B-4ddb-9562-BCE5B1EBF071}"
szCustomStreamConfig.GUID      ="{48524FF4-4C17-4254-8D21-1D9F6DB3453B}"
szCustomDevSetting.GUID        ="{A26273B9-C41B-4ddb-9562-BCE5B1EBF071}"
szCustomBandingSetting.GUID    ="{A26273BA-C41B-4ddb-9562-BCE5B1EBF071}"
