;------------------------------------------------------------------------------
; PD1050.UNS -- Creative WebCam Model Number PD1050 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]
P1050W9x.sys
P1050CmD.sys

[CtlCam.CopyWDMDrivers.NT]
P1050Wnt.sys

[CtlCam.CopyUserDrivers]
P1050Dex.ax
P1050Dsx.ax
P1050Dsx.crl
P1050Vex.dll
P1050Pin.dll
P1050Pin.crl
P1050Hwx.dll

[CtlCam.CopyVFWDrivers]
P1050Vfw.drv

[CtlCam.CopyVFWDrivers.NT]
P1050Vfw.dll

[CtlCam.CopySTIDrivers]
P1050Sti.dll
P1050St.ax

[CtlCam.CopyTWAINDrivers]
P1050Twn.ds
P1050Twn.crl
CtTwnUi.crl,,,0x20
CtTwnUi.dll,,,0x20
CtSkin.dll,,,0x20
CtSpea32.dll,,,0x20
CtRes32.dll,,,0x20

[CtlCam.CopyWinFiles]
P1050Vid.uns
P1050Cfg.exe
P1050Cfg.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,%MSRunOnce%,%szDeviceSetupDesc%
HKLM,%MSRunOnce%,%szConfigAppRegistry%
HKLM,%MSUninstall%\%szUninstall%
HKLM,%MSMediaResMSVideo%\MSVideo.%szVfwKey%

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

[CtlCam.DelCatFile]
P1050Vid.cat
P1050Com.cat

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

[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 **
;------------------------------------------
MSRunOnce                ="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
MSUninstall              ="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
MSMediaResMSVideo        ="SYSTEM\CurrentControlSet\Control\MediaResources\msvideo"

;------------------------------------------
; ** following strings change per device **
;------------------------------------------
; description
szModelno              ="PD1050"
CTConfigRegistry       ="Software\Creative Tech\Web Cameras\PD1050"
szVfwKey               ="PD1050"
szDeviceSetupDesc      ="Creative WebCam Pro eX Setup"
szUninstall            ="Creative PD1050"
szVideoServiceName     ="P1050VID"
Still_Sink_Instance    ="Software\CLASSES\CLSID\{083863F1-70DE-11D0-BD40-00A0C911CE86}\Instance\{80E57B00-7603-11D5-8F7D-0002E30B6383}"
szConfigAppRegistry    ="PD1050 Config Applet"

; GUIDs
STIDevice.GUID         ="{5111AA50-0756-406C-8B5B-BD0AF92F93A0}"
CLSID_Still_Sink       ="{80E57B00-7603-11D5-8F7D-0002E30B6383}"
DeviceSettings.GUID    ="{6ED7A897-C5F0-441a-B805-8FB2B51DCD1F}"
VideoFormat.GUID       ="{134E2292-6288-4d0a-A5BC-D496EAB9B1A0}"
CustomPropSet.GUID     ="{869E8C6F-0D84-420F-B44E-7BFBEE74D6CF}"

; filename
szVFWDriver            ="P1050Vfw.drv"
