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

[Version]
Signature="$CHICAGO$"

[DestinationDirs]
DefaultDestDir=11
CTL.CopyTwainFiles=10,TWAIN_32\Creative\PD1090
CTL.CopyUserSysFiles=11
CTL.CopyKernDrivers=10,System32\Drivers
CTL.W98.CopyWinFiles=10
CTL.W2K.CopyWinFiles=10

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

[CTL.CopyKernDrivers]
P1090vid.sys
P1090cdi.sys      ; from Creative

[CTL.CopyUserSysFiles]
P1090sti.dll
P1090dex.ax
P1090Pin.dll      ; from Creative
P1090Pin.crl      ; from Creative
P1090Vfw.drv      ; from Creative
P1090Vfw.dll	  ; from Creative
P1090Cfg.crl      ; from Creative

[CTL.CopyTwainFiles]
P1090Twn.ds
P1090TXP.ds

[CTL.W2K.CopyWinFiles]
Pd1090.uns        ; from Creative
P1090Cfg.exe      ; from Creative

[CTL.W98.CopyWinFiles]
VfwUpd.exe        ; from Creative
Pd1090.uns        ; from Creative
P1090Cfg.exe      ; from Creative

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

[CtlCam.Uninstall]
DelFiles=         CTL.CopyKernDrivers,CTL.W98.CopyWinFiles,CTL.CopyTwainFiles,CTL.CopyUserSysFiles
DelReg=           CtlCam.DelReg
UpdateInis=       CtlCam.DelIni
ctDelDevices=     CtlCam.DelDevices
ctDelCatFile=     CtlCam.DelCatFile
ctDelDevClassInst=CtlCam.DelDevClass,CtlCam.DelDevClassEx.W98

[CtlCam.Uninstall.NT]
DelFiles=         CTL.CopyKernDrivers,CTL.W2K.CopyWinFiles,CTL.CopyTwainFiles,CTL.CopyUserSysFiles
DelReg=           CtlCam.DelReg
DelService=       %szVideoServiceName%,%SERVICE_STOP_SERVICE%,,
UpdateInis=       CtlCam.DelIni
ctDelDevices=     CtlCam.DelDevices
ctDelCatFile=     CtlCam.DelCatFile
ctDelDevClassInst=CtlCam.DelDevClass

[CtlCam.DelReg]
HKLM,%szConfigRegistry%
HKLM,%szVendorSetting%
HKLM,%MSUninstall%\%szUninstall%
HKCR,CLSID\%szSTIDevice.GUID%
HKCR,CLSID\%szCustomStreamConfig.GUID%
HKCR,CLSID\%szCustomInterface.GUID%
HKCR,CLSID\%szCustomDevSetting.GUID%
HKCR,CLSID\%szCustomBandingSetting.GUID%
HKLM,%MSMediaResMSVideo%\MSVideo.%szVfwKey%
HKLM,%MSMediaSets%\%szCustomInterface.GUID%
HKLM,%MSMediaInterfaces%\%szCustomInterface.GUID%
HKLM,%MSMediaCategories%\%MSVideoCapturePin.GUID%\PropertyPages\%szCustomStreamConfig.GUID%
HKLM,%MSRun%,%szRegStiApp%

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

[CtlCam.DelCatFile]
P1090Vid.cat

[CtlCam.DelDevices]
USB\VID_041E&PID_4017

[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
{659be370-ac15-45fe-9eda-39cf8f95862e},0

[CtlCam.DelDevClassEx.W98]
{6bdd1fc6-810f-11d0-bec7-08002be2092f},0

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

[Strings]
SERVICE_STOP_SERVICE=0x200

MSMediaResMSVideo      ="SYSTEM\CurrentControlSet\Control\MediaResources\msvideo"
MSUninstall            ="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
MSMediaSets            ="System\CurrentControlSet\Control\MediaSets"
MSMediaInterfaces      ="System\CurrentControlSet\Control\MediaInterfaces"
MSMediaCategories      ="System\CurrentControlSet\Control\MediaCategories"
MSVideoCapturePin.GUID ="{FB6C4281-0353-11d1-905F-0000C0CC16BA}"
MSRun                  ="SOFTWARE\Microsoft\Windows\CurrentVersion\Run"

;-------------------------------------
; User-definable - hardware dependent
;-------------------------------------
szConfigRegistry  ="Software\Creative Tech\Web Cameras\PD1090"
szVendorSetting   ="Software\ZSMC"
szDeviceSetup     ="WebCam Mobile Setup"
szDiskName        ="Creative WebCam Mobile Driver Disk"

szStillImageDesc  ="PD1090 Still Image USD"
szTwainDSDesc     ="Creative WebCam Mobile"
szUninstall       ="Creative PD1090"
szUninstallDisplay="Creative WebCam Mobile Driver"
szVideoServiceName="P1090VID"
szVfwKey          ="P1090VFW"
szVfwDeviceDesc   ="Creative WebCam Mobile (VFW)"
szSTIDevice.GUID  ="{80989FCE-A58A-4902-B5C8-37410E34023F}"

; Custom Property pages
szDSExtPageFile                ="P1090Dex.ax"
szPlugIn_CustomCameraProp      ="PD1090 Custom Camera Interface handler"
szPropPage_CustomStreamConfig  ="PD1090 Custom Video Stream Config Property Page"
szPropPage_CustomDevSetting    ="PD1090 Device Setting Property Page"
szPropPage_CustomBandingSetting="PD1090 Custom Banding Frequency Property Page"

szCustomInterface.GUID         ="{9C757C5A-8D95-453c-8284-906A68DC53FA}"
szCustomDevSetting.GUID        ="{9C757C51-8D95-453c-8284-906A68DC53FA}"
szCustomBandingSetting.GUID    ="{9C757C52-8D95-453c-8284-906A68DC53FA}"
