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

[Version]
Signature="$Windows NT$"

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

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

[CtlCam.CopyKernelDrivers]
Wcgopvid.sys
Wcgophal.sys

[CtlCam.CopyUserDrivers]
Wcgopres.cpl
Wcgopres.crl
Wcgopsti.dll
Wcgopfsd.dll
omcamsti.dll
Wcgopvex.dll
Wcgopvex.crl
Wcgophal.dll
Wcgoppin.dll
Wcgoppin.crl
wcgopdsx.ax

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

[CtlCam.W2K.CopyWinFiles]
Wcgopsvc.exe
Ct7510.uns

[CtlCam.CopyWinFiles]
vfwupd.exe
Ct7510.uns

[CtlCam.CopyVfwDriver]
Wcgopvfw.drv

[CtlCam.W2K.CopyVfwDriver]
Wcgopvfw.dll

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

[CtlCam.Uninstall]
DelFiles=CtlCam.CopyKernelDrivers,CtlCam.CopyUserDrivers,CtlCam.CopyTwainFiles,CtlCam.CopyWinFiles,CtlCam.CopyVfwDriver
DelReg=CtlCam.DelReg,CtlCam.Vfw.DelReg,CtlCam.Service.DelReg
UpdateInis=CtlCam.DelIni
ctDelRunApp=CtlCam.DelRunApp
ctDelDevClassInst=CtlCam.DelDevClass

[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=%szHalServiceName%,%SERVICE_STOP_SERVICE%,,
UpdateInis=CtlCam.DelIni
ctDelRunApp=CtlCam.DelRunApp

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

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

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

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

[CtlCam.DelRunApp]
%szStiRunAppDesc%,WcgopSvcClass

[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


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

[Strings]
SERVICE_STOP_SERVICE=0x200

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}"

; For uninstallation only
DELETE_CLASS_IF_NO_INST=1

;-------------------------------------
; User-definable - hardware dependent
;-------------------------------------
szConfigRegistry        ="Software\Creative Tech\Video Blaster\WebCam Go Plus"
szCamConfigRegistry     ="Software\Creative Tech\Video Blaster\WebCam Go Plus\CamConfiguration"
szImgProConfigRegistry  ="Software\Creative Tech\Video Blaster\WebCam Go Plus\ImageProc"
szCodecNameJPG          ="WinBond JPEG [CJPG]"
szCodecNameYUY2         ="WinBond YUY2 [YUY2]"
szCreateDeviceName      ="\\.\PCAMPSTI"
szDeviceChange.GUID     ="{D290B61D-09D6-11d4-8BDC-002035E79FF5}"
szLaunchApp             ="Open Application"
szNewPicture            ="New Picture Captured"
szStiAppName            ="WebCam Go Control"
szStillImageDesc        ="Video Blaster WebCam Go Plus Still Image USD"
szTwainDSDesc           ="Video Blaster WebCam Go Plus"
szUninstall             ="Creative Video Blaster WebCam Go Plus"
szUninstallDisplay      ="Creative Video Blaster WebCam Go Plus Driver"
szVfwKey                ="WebCamGoPlus"
szVfwDeviceDesc         ="Video Blaster WebCam Go Plus (VFW)"
szDiskName              ="Creative Video Blaster WebCam Go Plus Driver Disk"
szStiRunAppDesc         ="WebCam Go Plus Sti Service Application"
szVidServiceName        =WCGOPVID
szHalServiceName        =WCGOPHAL
szSTIDevice.GUID        ="{59306465-DEDF-49C1-97C5-C9A28830B956}"

; Custom Property pages
szDSExtPageFile                ="Wcgopdsx.ax"
szPlugIn_CustomCameraProp      ="CT7510 Custom Camera Interface handler"
szPropPage_CustomDevSetting    ="CT7510 Custom Device Setting Property Page"
szPropPage_CustomBandingSetting="CT7510 Custom Banding Frequency Property Page"
szPropPage_CustomStreamConfig  ="CT7510 Custom Video Stream Config Property Page"
szCustomInterface.GUID         ="{07242AF9-195F-408a-8909-E9818DA259D5}"
szCustomStreamConfig.GUID      ="{571ADBCA-6A55-4a14-AF4E-C585E0C112B3}"
szCustomDevSetting.GUID        ="{07242AFB-195F-408a-8909-E9818DA259D5}"
szCustomBandingSetting.GUID    ="{07242AFC-195F-408a-8909-E9818DA259D5}"
