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

[Version]
Signature="$CHICAGO$"

[Main.Uninstall.Devices]
USB\VID_041E&PID_4012&MI_01

[Main.Uninstall.Opt]
Common_Uninstall_Section=CtlCam.Uninstall
Device_Desc_For_Messages="Creative PC-CAM 350"

[DestinationDirs]
DefaultDestDir=11
CTL.CopyTwainFiles=10,TWAIN_32\Creative\PD1060
CTL.CopyUserSysFiles=11
CTL.CopyKernDrivers=10,System32\Drivers
CTL.CopyHalFile=11
CTL.CopyBulkDriver=10,System32\Drivers
CTL.CopyDownload=10,CTCAMERA\PD1060\CheckSum
CTL.W98.CopyWinFiles=10
CTL.W2K.CopyWinFiles=10
CTL.W98.CopyVfwDriver=11
CTL.W2K.CopyVfwDriver=11

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

[CTL.CopyKernDrivers]
P1060Vid.sys
P1060Cmd.sys

[CTL.CopyBulkDriver]
P1060Blk.sys

[CTL.CopyUserSysFiles]
P1060If.dll
P1060Dnl.dll
P1060Gra.dll
P1060Jpg.dll
P1060Api.dll
P1060Raw.dll
P1060Dec.dll
P1060M01.dll
P1060Hwx.dll
P1060Foa.dll
P1060Sti.dll
P1060Vex.loc
P1060Vex.pro
Raw2Xga.dll
Raw2SVGA.dll
Rawsnap.dll
Raw2RGB.DLL
P1060Ext.ax       ; from Creative
P1060Ext.crl      ; from Creative
P1060Swa.dll      ; from Creative
P1060Wia.dll      ; from Creative
P1060Cfg.crl      ; from Creative
P1060Pin.dll      ; from Creative
P1060Pin.crl      ; from Creative

[CTL.CopyTwainFiles]
P1060Avi.ax
P1060Dep.dll
P1060Ctl.dll
P1060Twn.ds
P1060UI.dll
P1060Cap.dll
P1060Twn.pro
P1060Twn.loc

[CTL.CopyHalFile]

[CTL.W2K.CopyWinFiles]
Pd1060.uns        ; from Creative
P1060Cfg.exe      ; from Creative

[CTL.W98.CopyWinFiles]
VfwUpd.exe        ; from Creative
Pd1060.uns        ; from Creative
P1060Cfg.exe      ; from Creative

[CTL.CopyDownload]
checksum.foa

[CTL.W98.CopyVfwDriver]
P1060Vfw.drv	  ; from Creative

[CTL.W2K.CopyVfwDriver]
P1060Vfw.dll	  ; from Creative

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

[CtlCam.Uninstall]
DelFiles=         CTL.CopyKernDrivers,CTL.CopyBulkDriver,CTL.CopyTwainFiles,CTL.CopyUserSysFiles,CTL.CopyDownload,CTL.W98.CopyWinFiles,CTL.W98.CopyVfwDriver,CtlCam.DelCatFile
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.CopyDownload,CTL.W2K.CopyWinFiles,CTL.W2K.CopyVfwDriver,CtlCam.DelCatFile
DelReg=           CtlCam.DelReg
DelService=       %szVideoServiceName%,%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%
HKCR,CLSID\%szVFWNR.GUID%
HKCR,CLSID\%szVFWSG.GUID%
HKCR,CLSID\%szCR530AVIMaker.GUID%
HKCR,CLSID\%szAVIMaker.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,"VIDC.VQJ9=P1060dec.dll",,0
system.ini,drivers,"MsVideo.%szVfwKey%=p1060vfw.drv",,0

[CtlCam.DelCatFile]
pd1060cm.cat
pd1060dv.cat

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

[CtlCam.DelDevClass]
{65E8773D-8F56-11D0-A3B9-00A0C9223196},0
{6994ad05-93ef-11d0-a3cc-00a0c9223196},0
{a5dcbf10-6530-11d2-901f-00c04fb951ed},0
{d3a8570f-70fe-44f9-b073-bacf9f917744},0
{fb6c428a-0353-11d1-905f-0000c0cc16ba},0
{521474e3-0b0a-4bea-8fab-27488b87ad0a},0
{a51d1ec6-535d-11d4-9a79-0080c83c53db},0
{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\Dual Mode Cameras\PD1060"
szConfigRegistry2 ="Software\Creative Tech\Dual Mode Cameras\Cr780"
szLaunchApp       ="Open Application"
szDeviceSetup     ="PC-CAM 350 Setup"
szDiskName        ="Creative PC-CAM 350 Driver Disk"
szRegStiApp       ="PC-CAM 350 STI App Registration"
szStillImageDesc  ="PD1060 Still Image USD"
szStiAppName      ="PC-CAM Center"
szTwainDSDesc     ="Creative PC-CAM 350"
szUninstall       ="Creative PD1060"
szUninstallDisplay="Creative PC-CAM 350 Driver"
szVideoServiceName="P1060VID"
szBulkServiceName ="P1060BLK"
szVfwKey          ="P1060VFW"
szVfwDeviceDesc   ="Creative PC-CAM 350 (VFW)"
szSTIDevice.GUID  ="{6274FFE9-9010-46db-8358-E7CE8303F592}"

; Custom Property pages
szPlugIn_CustomCameraProp      	="PD1060 Custom Camera Interface handler"
szPropPage_CustomStreamConfig  	="PD1060 Custom Video Stream Config Property Page"
szPropPage_CustomDevSetting    	="PD1060 Device Setting Property Page"
szPropPage_CustomBandingSetting	="PD1060 Custom Banding Frequency Property Page"
szCustomInterface.GUID          ="{F39DEDAB-6265-4e20-B386-0FD4C0555D91}"
szCustomStreamConfig.GUID       ="{30F5CC81-5AAF-11d6-AD7F-00A0C98EA471}"
szCustomDevSetting.GUID         ="{1329EE21-5AAF-11d6-AD7F-00A0C98EA471}"
szCustomBandingSetting.GUID     ="{1329EE22-5AAF-11d6-AD7F-00A0C98EA471}"
szVFWNR.GUID		        ="{9F728630-9FEC-11d7-BD32-002035E79FF5}"
szVFWSG.GUID		        ="{BCFB4101-9FEC-11d7-BD32-002035E79FF5}"
szCR530AVIMaker.GUID		="{53F1605E-1642-4692-BDF5-947D23D8EC7C}"
szAVIMaker.GUID			="{5FEC1074-A087-4C37-AEF6-F80111BFD1D2}"
