;------------------------------------------------------------------------------
; PD1000.UNS -- Creative WebCam Model Number PD1000 uninstallation
; Copyright (c) 2002 Creative Technology Ltd. All rights reserved.
;------------------------------------------------------------------------------

;------------------ Version ----------------------------------------------------

[Version]
Signature ="$CHICAGO$"

;------------------ DestinationDirs --------------------------------------------

[DestinationDirs]
DefaultDestDir            =11
CtlCam.CopyWDMDrivers     =10,System32\Drivers
CtlCam.CopyWDMDrivers.NT  =12
CtlCam.CopyUserDrivers    =11
CtlCam.CopyVfwDrivers     =11
CtlCam.CopyVfwDrivers.NT  =11
CtlCam.CopySTIDrivers     =11
CtlCam.CopyTwainDrivers   =10,TWAIN_32\Creative\%szModelNo%
CtlCam.CopyWinFiles       =10
CtlCam.CopyTWAINFiles     =10

;------------------ CopyFiles --------------------------------------------------

[CtlCam.CopyWDMDrivers]
PD100Vid.sys
CamUsP20.sys

[CtlCam.CopyWDMDrivers.NT]
PD100Vid.sys

[CtlCam.CopyUserDrivers]
PD100Ex.ax
PD100Ex.dll
PD100Pin.dll
PD100Pin.crl

[CtlCam.CopyVFWDrivers]
PD100Vfw.drv

[CtlCam.CopyVFWDrivers.NT]
PD100Vfw.dll

[CtlCam.CopySTIDrivers]
CamUsd.dll
PD100St.ax

[CtlCam.CopyTWAINDrivers]
PD100Twn.ds
PD100Twn.crl
CtTwnUi.crl
CtTwnUi.dll
CtSkin.dll
CtSpea32.dll
CtRes32.dll

[CtlCam.CopyWinFiles]
PD100Vid.uns
PD100Cfg.exe
PD100Cfg.crl

;------------------ Uninstall Section ------------------------------------------

[CtlCam.Uns]
DelFiles          =CtlCam.CopyWDMDrivers,CtlCam.CopyUserDrivers,CtlCam.CopyVFWDrivers,CtlCam.CopySTIDrivers,CtlCam.CopyTWAINDrivers,CtlCam.CopyWinFiles
DelReg            =CtlCam.DelReg
UpdateInis        =CtlCam.DelIni
ctDelDevices      =CtlCam.DelDevices
ctDelCatFile      =CtlCam.DelCatFile
ctDelDevClassInst =CtlCam.DelDevClass

[CtlCam.Uns.NT]
DelFiles          =CtlCam.CopyWDMDrivers.NT,CtlCam.CopyUserDrivers,CtlCam.CopyVFWDrivers.NT,CtlCam.CopySTIDrivers,CtlCam.CopyTWAINDrivers,CtlCam.CopyWinFiles
DelReg            =CtlCam.DelReg
DelService        =%szVideoServiceName%,0x200,,
ctDelDevices      =CtlCam.DelDevices
ctDelCatFile      =CtlCam.DelCatFile
ctDelDevClassInst =CtlCam.DelDevClass

[CtlCam.DelReg]
HKLM,%CTConfigRegistry%
HKCR,CLSID\%STIDevice.GUID%
HKCR,CLSID\%CLSID_Still_Sink%
HKLM,%Still_Sink_Instance%
HKCR,CLSID\%CustomPropSet.GUID%
HKLM,System\CurrentControlSet\Control\MediaInterfaces\%CustomPropSet.GUID%
HKCR,CLSID\%DeviceSettings.GUID%
HKCR,CLSID\%AdvancedSettings.GUID%
HKCR,CLSID\%VideoFormat.GUID%
HKLM,%MSMediaSets%\%CustomPropSet.GUID%
HKLM,%MSMediaCategories%\%MSVideoCapturePin.GUID%\PropertyPages\%VideoFormat.GUID%
HKLM,%MSRunOnce%,%szDeviceSetupDesc%
HKLM,%MSRunOnce%,%szConfigAppRegistry%
HKLM,%MSUninstall%\%szUninstall%
HKLM,%MSMediaResMSVideo%\MSVideo.%szVfwKey%

[CtlCam.DelIni]
System.ini,Drivers,"MSVideo.%szVfwKey%=%szVfwDriver%",,0

[CtlCam.DelCatFile]
PD100Vid.cat
PD100Com.cat

[CtlCam.DelDevices]
%USB.Composite.ID%

[CtlCam.DelDevClass]
{ff596e7c-6163-48b5-852f-e45752eed16f},1
{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

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

[Strings]
;------------------------------------------
; ** do not change the following strings **
;------------------------------------------
MSMediaSets              ="SYSTEM\CurrentControlSet\Control\MediaSets"
MSMediaCategories        ="System\CurrentControlSet\Control\MediaCategories"
MSVideoCapturePin.GUID   ="{FB6C4281-0353-11d1-905F-0000C0CC16BA}"
MSDefStreamConfig.GUID   ="{71F96467-78F3-11d0-A18C-00A0C9118956}"
MSRunOnce                ="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
szMSDefStreamConfigDesc  ="StreamFormat Property Page"
MSUninstall              ="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
MSMediaResMSVideo        ="SYSTEM\CurrentControlSet\Control\MediaResources\msvideo"
MSMMDriverDesc           ="SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers.desc"
MSMMDrivers              ="SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32"
MSKsCategoryCapture.GUID ="{65E8773D-8F56-11D0-A3B9-00A0C9223196}"
MSProxyVCap.CLSID        ="{17CCA71B-ECD7-11D0-B908-00A0C9223196}"

;---------------------------------------
; ** following strings rarely changed **
;---------------------------------------
szProvider          ="Creative Labs"
szSTINewPictureDesc ="New Picture Captured"
szSTILaunchAppDesc  ="Open Application"

;------------------------------------------
; ** following strings change per device **
;------------------------------------------
; description
szModelno              ="PD1000"
USB.Composite.ID       ="USB\VID_041E&PID_400C"
szWDMDeviceDesc        ="Video Blaster WebCam 5 (WDM)"
szDeviceType           ="2"
szDeviceSubType        ="1"
szCapabilities         ="1"
szTwainDSDesc          ="Video Blaster WebCam 5 (WDM)"
szSTIAppName           ="WebCam Control"
CTConfigRegistry       ="Software\Creative Tech\Web Cameras\PD1000"
szVfwKey               ="PD1000"
szVfwDeviceDesc        ="Video Blaster WebCam 5 (VFW)"
szStillImageDesc       ="Creative Video Blaster WebCam 5 Still Image Driver"
szDeviceSettingsDesc   ="PD1000 Device Settings Property Page"
szAdvancedSettingsDesc ="PD1000 Advanced Settings Property Page"
szVideoFormatDesc      ="PD1000 Video Format Property Page"
szCustomPropSetDesc    ="PD1000 Custom Property Set"
szDeviceSetupDesc      ="Creative Video Blaster WebCam 5 Setup"
szUninstall            ="Creative Video Blaster WebCam 5"
szUninstallDesc        ="Creative Video Blaster WebCam 5 Driver"
szVideoServiceName     ="PD100VID"
szSourceDisksNameDesc  ="Creative Video Blaster WebCam 5 Driver Disk"
Still_Sink_Instance    ="Software\CLASSES\CLSID\{083863F1-70DE-11d0-BD40-00A0C911CE86}\Instance\{4DCEE6F6-4D3C-443d-B5B1-B4196FB002E5}"
szStillSinkDesc        ="Still Image Sinker"
szConfigAppRegistry    ="PD1000 Config Applet"

; GUIDs
STINewPicture.GUID     ="{C9E1C660-989A-11d5-98C5-0010DC2F52BC}"
STILaunchApp.GUID      ="{79C2DCE0-926A-11d5-8F7D-0002E30B6383}"
STIDevice.GUID         ="{DCABE420-9335-11d5-8F7D-0002E30B6383}"
CLSID_Still_Sink       ="{4DCEE6F6-4D3C-443d-B5B1-B4196FB002E5}"
DeviceSettings.GUID    ="{F83865C2-92C3-11d3-B41E-0010DC973BDB}"
AdvancedSettings.GUID  ="{F83865C3-92C3-11d3-B41E-0010DC973BDB}"
CustomPropSet.GUID     ="{F83865C0-92C3-11d3-B41E-0010DC973BDB}"

; filename
szWDMDriver            ="PD100Vid.sys"
szStillImageFile       ="CamUsd.dll"
szVideoSourceFile      ="PD100Ex.ax"
szVideoFormatFile      ="PD100Dsx.ax"
szPluginFile           ="PD100Pin.dll"
szPluginResourceFile   ="PD100Pin.crl"
szVFWDriver            ="PD100Vfw.drv"
szVFWDriver.NT         ="PD100Vfw.dll"
szUninstallFile        ="PD100Vid.uns"
szVFWPropPageFile      ="PD100Ex.dll"
szWDMDriver.NT         ="PD100Vid.sys"
