;---------------------------------------------------------------------------
; P0250.UNS -- Creative Camera Model Number P0250 uninstallation
; Copyright (c) 2002-2003 Creative Technology Ltd. All rights reserved.
;---------------------------------------------------------------------------


[Version]
Signature=  "$CHICAGO$"

[Main.Uninstall.Devices]
USB\VID_041E&PID_400F

[Main.Uninstall.Opt]
Common_Uninstall_Section=CtlCam.Uninstall
Device_Desc_For_Messages="Creative PC-CAM 550"
[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\pd0250
CtlCam.CopyBulkDrivers=10,System32\Drivers
CtlCam.CopyVfwDriver=11
CtlCam.W2K.CopyVfwDriver=11

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

[CtlCam.CopyBulkDrivers]
p0250buk.sys

[CtlCam.CopyKernelDrivers]
p0250v9x.sys

[CtlCam.W2K.CopyKernelDrivers]
p0250v2k.sys

[CtlCam.CopyUserDrivers]
p0250hwx.dll
p0250sti.dll
p0250foa.dll
p0250pin.dll
p0250pin.crl
p0250swa.dll
p0250wia.dll
CtRegApp.dll
P0250Ext.ax
P0250Ext.crl

[CtlCam.CopyTwainFiles]
p0250twn.ds
p0250twn.crl
cttwain.dll
cttwain.crl

[CtlCam.W2K.CopyWinFiles]
p0250.uns
p0250cfg.exe
p0250cfg.crl

[CtlCam.CopyWinFiles]
ctdrvins.exe
p0250.uns
p0250cfg.exe
p0250cfg.crl

[CtlCam.CopyVfwDriver]
p0250vfw.drv

[CtlCam.W2K.CopyVfwDriver]
p0250vfw.dll

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

[CtlCam.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
ctDelDevClassInst=CtlCam.DelDevClass
ctDelCatFile=     CtlCam.DelCatFile

[CtlCam.Uninstall.NT]
DelFiles=         CtlCam.W2K.CopyKernelDrivers,CtlCam.CopyUserDrivers,CtlCam.CopyTwainFiles,CtlCam.W2K.CopyWinFiles,CtlCam.W2K.CopyVfwDriver,CtlCam.CopyBulkDrivers
DelReg=           CtlCam.DelReg,CtlCam.Vfw.DelReg

UpdateInis=       CtlCam.DelIni
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%
HKCR,CLSID\%szSTIEventNewPic.GUID%
HKLM,SOFTWARE\Classes\CLSID\%szSTIEventNewPic.GUID%
HKLM,System\CurrentControlSet\Control\MediaCategories\%MSVideoCapturePin.GUID%\PropertyPages\%szCustomStreamConfig.GUID%
HKLM,System\CurrentControlSet\Control\MediaSets\%szCustomInterface.GUID%
HKLM,%MSRunOnce%,%szConfigApp%

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

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

[CtlCam.DelDevices]
USB\VID_041E&PID_400F
USB\VID_041E&PID_400F&MI_00
USB\VID_041E&PID_400F&MI_01

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

[CtlCam.DelDevClass]
{4299b540-66c0-11d3-9a79-0080c83c53db},0
{521474e3-0b0a-4bea-8fab-27488b87ad0a},0
{65E8773D-8F56-11D0-A3B9-00A0C9223196},0
{6994ad05-93ef-11d0-a3cc-00a0c9223196},0
{88eb8c1d-80ae-4e20-95bc-05689ef608cd},0
{a51d1ec6-535d-11d4-9a79-0080c83c53db},0
{a5dcbf10-6530-11d2-901f-00c04fb951ed},0
{ff596e7c-6163-48b5-852f-e45752eed16f},0

[CtlCam.DelCatFile]

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

[Strings]
SERVICE_STOP_SERVICE=0x200

MSMediaResourcesMSVideo="SYSTEM\CurrentControlSet\Control\MediaResources\msvideo"
MSVideoCapturePin.GUID ="{FB6C4281-0353-11d1-905F-0000C0CC16BA}"
MSRunOnce              ="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"

; For uninstallation only
DELETE_CLASS_IF_NO_INST=1

;-------------------------------------
; User-definable - hardware dependent
;-------------------------------------
szConfigRegistry     ="Software\Creative Tech\Dual Mode Cameras\PD0250"
szCamConfigRegistry  ="CamConfiguration"
szVidServiceName     ="P0250VID"
szBulkServiceName    ="P0250BUK"
szUninstall          ="Creative PC-CAM 550"
szUninstallDisplay   ="Creative PC-CAM 550 Driver"
szVfwKey             ="PCCAM550"
szDiskName           ="Creative PC-CAM 550 Driver Disk"
szSTIDevice.GUID     ="{047D93EB-3234-4e9e-BFB7-99B98BBC2874}"

; Custom Property pages
szDSExtPageFile                ="P0250Ext.ax"
szPlugIn_CustomCameraProp      ="PD0250 Custom Camera Interface handler"
szPropPage_CustomStreamConfig  ="PD0250 Custom Video Stream Config Property Page"
szPropPage_CustomDevSetting    ="PD0250 Custom Device Setting Property Page"
szPropPage_CustomBandingSetting="PD0250 Custom Banding Frequency Property Page"
szCustomInterface.GUID         ="{04390578-4B79-4946-B550-81597121C568}"
szCustomStreamConfig.GUID      ="{57C52C72-78CD-40e3-8D37-A644FBE17661}"
szCustomDevSetting.GUID        ="{8B1C45C6-0197-4549-997F-22A19E8CED13}"
szCustomBandingSetting.GUID    ="{1A109261-2056-42db-8B1B-88A073F2B361}"


szSTIEventNewPic.GUID          ="{43381ABD-AAF6-4da2-9252-C070F45CA67E}"
szSTIEventLaunch.GUID          ="{2755EF02-45F9-45c4-BA49-408FE9CA9C14}"

szConfigApp                    =" Config Applet"
szVidServiceName               ="P0250VID"
szBulkServiceName              ="P0250BUK"
