;---------------------------------------------------------------------------
; CT6840.UNS -- Creative Video Blaster WebCam 3 USB & WebCam Plus
;               Camera uninstallation.
; Copyright (c) 1999-2001 Creative Technology Ltd. All rights reserved.
;---------------------------------------------------------------------------

[Version]
Signature="$Windows NT$"

[DestinationDirs]
DefaultDestDir=11
CtlCam.Copy.KernelDrivers=10,System32\Drivers
CtlCam.Copy.TwainFiles=10,TWAIN_32\Creative
CtlCam.Copy.WinFiles=10
CtlCam.Copy.SettingFiles=10,OvtCam
CtlCam.Copy.UserDrivers=11

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

[CtlCam.Copy.KernelDrivers]
webc3vid.sys
webc3cam.sys 

[CtlCam.Copy.UserDrivers]
webc3vfw.drv
webc3vfw.dll
webc3usd.dll
webc3ext.dll 
webc3dsx.ax
webc3pin.dll
webc3pin.crl

[CtlCam.Copy.WinFiles]
ct6840.uns

[CtlCam.Copy.TwainFiles]
webc3twn.ds

[CtlCam.Copy.SettingFiles]
6620.set
6620p.set
6630.set
6630p.set
7610.set
7610p.set
7620.set
7620p.set
7620aep.set
7620ae.set
76BE.set
8600.set
8600p.set

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

[CtlCam.Uninstall]
DelFiles=CtlCam.Copy.UserDrivers,CtlCam.Copy.SettingFiles,CtlCam.Copy.TwainFiles,CtlCam.Copy.KernelDrivers,CtlCam.Copy.WinFiles
DelReg=CtlCam.DelReg,CtlCam.Vfw.DelReg
UpdateInis=CtlCam.DelIni
ctDelDevClassInst=CtlCam.DelDevClass
ctDelDevices=CtlCam.DelDevices.511,CtlCam.DelDevices.511P

[CtlCam.Uninstall.511P.NT]
DelFiles=CtlCam.Copy.UserDrivers,CtlCam.Copy.SettingFiles,CtlCam.Copy.TwainFiles,CtlCam.Copy.KernelDrivers,CtlCam.Copy.WinFiles
DelReg=CtlCam.DelReg,CtlCam.Vfw.DelReg
DelService=%sz511PServiceName%,%SERVICE_STOP_SERVICE%,,
DelService=%sz511ServiceName%,%SERVICE_STOP_SERVICE%,,
UpdateInis=CtlCam.DelIni
ctDelDevices=CtlCam.DelDevices.511P

[CtlCam.Uninstall.511.NT]
DelFiles=CtlCam.Copy.UserDrivers,CtlCam.Copy.SettingFiles,CtlCam.Copy.TwainFiles,CtlCam.Copy.KernelDrivers,CtlCam.Copy.WinFiles
DelReg=CtlCam.DelReg,CtlCam.Vfw.DelReg
DelService=%sz511ServiceName%,%SERVICE_STOP_SERVICE%,,
DelService=%sz511PServiceName%,%SERVICE_STOP_SERVICE%,,
UpdateInis=CtlCam.DelIni
ctDelRunApp=CtlCam.DelRunApp
ctDelDevices=CtlCam.DelDevices.511

[CtlCam.DelReg]
HKLM,%szConfigReg2%
HKLM,%szConfigReg%
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\%szUninstall%
HKCR,CLSID\%szSTIDevice.GUID%
HKCR,CLSID\%szCustomInterface.GUID%
HKCR,CLSID\%szCustomDevSetting.GUID%
HKCR,CLSID\%szCustomBandingSetting.GUID%
HKLM,System\CurrentControlSet\Control\MediaSets\%szCustomInterface.GUID%

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

[CtlCam.DelDevClass]
{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

[CtlCam.DelDevices.511]
USB\VID_05A9&PID_A511

[CtlCam.DelDevices.511P]
USB\VID_05A9&PID_0511

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

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

[Strings]
SERVICE_STOP_SERVICE=0x200

MediaResourcesMSVideo="SYSTEM\CurrentControlSet\Control\MediaResources\msvideo"

;----------------
; User-definable
;----------------
szCamSetting         ="CameraSetting"
szConfigReg          ="Software\Creative Tech\Video Blaster\WebCam 3 USB"
szConfigReg2         ="Software\OVTUsbCamera"
szLaunchApp          ="Open Application"
szNewPicture         ="New Picture Captured"
szStiAppName         ="WebCam Control"
szTwainDSDesc        ="Creative WebCam 3 or WebCam Plus"
szUninstall          ="Creative Video Blaster WebCam 3 USB/WebCam Plus"
szUninstallDisplay   ="Creative Video Blaster WebCam 3 USB/WebCam Plus Driver"
szVfwDeviceDesc      ="Video Blaster WebCam 3/WebCam Plus (VFW)"
szVfwKey             ="WebCam3U"
sz511ServiceName     =CTL511
sz511PServiceName    =CTL511Plus
szSTIDevice.GUID     ="{89151040-729C-11D3-83FC-0050047A963E}"

; Custom Property pages
szDSExtPageFile                  ="webc3dsx.ax"
szPlugIn_CustomCameraProp        ="CT6840 Custom Camera Interface handler"
szPropPage_CustomDevSetting      ="CT6840 Custom Device Setting Property Page"
szPropPage_CustomBandingSetting  ="CT6840 Custom Banding Frequency Property Page"
szCustomInterface.GUID           ="{F39E07C0-7D67-11D3-83FC-0050047A963E}"
szCustomDevSetting.GUID          ="{30af8142-7b74-11d3-b0ea-0060974cffd9}"
szCustomBandingSetting.GUID      ="{30af8145-7b74-11d3-b0ea-0060974cffd9}"
