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

[Version]
Signature="$CHICAGO$"

[Main.Uninstall.Devices]
USB\VID_041E&PID_4013&MI_01,CtlCam.Uninstall

[Main.Uninstall.Opt]
;Common_Uninstall_Section=CtlCam.Comm.Uninstall
Device_Desc_For_Messages="Creative PC-CAM 750"

[DestinationDirs]
DefaultDestDir=11               ; LDID_SYS
CTL.CopyTwainFiles=10,TWAIN_32\Creative\PD0230b
CTL.CopyUserSysFiles=11
CTL.CopyKernDrivers=10,System32\Drivers
CTL.CopyBulkDriver=10,System32\Drivers
CTL.CopyDownload=10,CTCAMERA\PD0230\CheckSum
CTL.W98.CopyWinFiles=10
CTL.W2K.CopyWinFiles=10

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

[CTL.CopyKernDrivers]
P0230bvd.sys
P0230bcd.sys

[CTL.CopyBulkDriver]
P0230bbk.sys

[CTL.CopyUserSysFiles]
P0230bEx.crl
P0230bex.ax
P0230bif.dll
P0230bDN.dll
P0230bGR.dll
P0230bJP.dll
P0230bap.dll
Raw2Xga.dll
P0230bRa.dll
Raw2SVGA.dll
Rawsnap.dll
Raw2RGB.DLL
P0230bHw.dll
P0230bFo.dll
P0230bst.dll
P0230bvx.pro
P0230bvx.loc
P0230bde.dll
p0230bsn.dll
P0230bPn.dll      ; from Creative
P0230bPn.crl      ; from Creative
P0230bVf.drv      ; from Creative
P0230bVf.dll      ; from Creative
P0230bSw.dll      ; from Creative
P0230bWi.dll      ; from Creative
P0230bCf.crl      ; from Creative
P0230bSv.exe      ; from Creative

[CTL.CopyTwainFiles]
P0230bAv.ax
P0230bDp.dll
P0230bCt.dll
P0230bTw.ds
P0230bUI.dll
P0230bCa.dll
P0230bTw.pro
P0230bTw.loc

[CTL.W2K.CopyWinFiles]
P0230b.uns        ; from Creative
P0230bCf.exe      ; from Creative

[CTL.W98.CopyWinFiles]
VfwUpd.exe        ; from Creative
P0230b.uns        ; from Creative
P0230bCf.exe      ; from Creative
P0230bCm.cat
P0230bDv.cat

[CTL.CopyDownload]
checksum.foa

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

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

[CtlCam.Uninstall.NT]
DelFiles=         CTL.CopyKernDrivers,CTL.CopyBulkDriver,CTL.CopyTwainFiles,CTL.CopyUserSysFiles,CTL.W2K.CopyWinFiles
DelReg=           CtlCam.DelReg
;;DelService=       %szVideoServiceName%,%SERVICE_STOP_SERVICE%,,
;;DelService=       %szBulkServiceName%,%SERVICE_STOP_SERVICE%,,
UpdateInis=       CtlCam.DelIni
ctDelDevices=     CtlCam.DelDevices

[CtlCam.DelReg]
HKLM,%szConfigRegistry%
HKLM,%szConfigRegistry2%
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,%MSNTDriver32%,VIDC.VQC7

[CtlCam.DelIni]
system.ini,drivers32,"VIDC.VQC7=P0230bde.dll",,0
system.ini,drivers32,"VIDC.VQC7=CR780dec.dll",,0
system.ini,drivers,"MsVideo.%szVfwKey%=p0230bvf.drv",,0

[CtlCam.DelDevices]
USB\VID_041E&PID_4013
USB\VID_041E&PID_4013&MI_00

[CtlCam.DelDevClass]
{65E8773D-8F56-11D0-A3B9-00A0C9223196},0
{6994ad05-93ef-11d0-a3cc-00a0c9223196},0
{6bdd1fc6-810f-11d0-bec7-08002be2092f},0
{888a2449-3495-495a-897b-b80eb79dd727},0
{a5dcbf10-6530-11d2-901f-00c04fb951ed},0
{fb6c428a-0353-11d1-905f-0000c0cc16ba},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}"
MSNTDriver32           ="SOFTWARE\Microsoft\Windows NT\CurrentVersion\Drivers32"

;-------------------------------------
; User-definable - hardware dependent
;-------------------------------------
szConfigRegistry  ="Software\Creative Tech\Dual Mode Cameras\PD0230b"
szConfigRegistry2 ="Software\Creative Tech\Dual Mode Cameras\Cr780"
szLaunchApp       ="Open Application"
szDeviceSetup     ="PC-CAM 750 Setup"
szDiskName        ="Creative PC-CAM 750 Driver Disk"
szStillImageDesc  ="P0230b Still Image USD"
szStiAppName      ="PC-CAM Center"
szTwainDSDesc     ="Creative PC-CAM 750"
szUninstall       ="Creative PD0230B"
szUninstallDisplay="Creative PC-CAM 750 Driver"
szVideoServiceName="P0230bVD"
szBulkServiceName ="P0230bBK"
szVfwKey          ="P0230bVFW"
szVfwDeviceDesc   ="Creative PC-CAM 750 (VFW)"
szSTIDevice.GUID  ="{757251AF-1174-4175-B601-D6EBB0A33BD2}"

; Custom Property pages
szPlugIn_CustomCameraProp      	="P0230b Custom Camera Interface handler"
szPropPage_CustomStreamConfig  	="P0230b Custom Video Stream Config Property Page"
szPropPage_CustomDevSetting    	="P0230b Device Setting Property Page"
szPropPage_CustomBandingSetting	="P0230b Custom Banding Frequency Property Page"
szCustomInterface.GUID           ={0D0DD9DD-364E-4459-AF8C-091E9E792583}
szCustomStreamConfig.GUID        ={2B6E867D-0623-470d-B99E-52CA7EA47150}
szCustomDevSetting.GUID          ={1C207F07-8346-476a-8184-A3BA2787921D}
szCustomBandingSetting.GUID      ={2A398922-D9F9-431e-8C5F-BBF29A7303D2}
