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

[Version]
Signature="$CHICAGO$"

[Main.Uninstall.Devices]
USB\VID_041E&PID_4015&MI_00,CtlCam.Uninstall

[Main.Uninstall.Opt]
Common_Uninstall_Section=CtlCam.Uninstall
Device_Desc_For_Messages="Creative CardValue"

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

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

[CTL.CopyKernDrivers]
P1080vid.sys
P1080cam.sys

[CTL.CopyBulkDriver]
p1080stl.sys

[CTL.CopyUserSysFiles]
P1080dex.ax
P1080Pin.dll
P1080Pin.crl
p1080sti.dll
p1080wia.dll
p1080avi.ax
p1080hwx.dll
p1080foa.dll
p1080vfw.dll
p1080vfw.drv
p1080ext.crl
p1080ext.dll
p1080img.dll
p1080cfg.crl

[CTL.CopyTwainFiles]
p1080twn.ds
p1080twn.ini
unicows.dll
ept_engl.dll
ept_fren.dll
ept_germ.dll
ept_ital.dll
ept_japa.dll
ept_span.dll
ept_chit.dll
;;ept_chs.dll
ept_bpor.dll
ept_dutc.dll

[CTL.W2K.CopyWinFiles]
p1080cfg.exe

[CTL.W98.CopyWinFiles]
p1080cfg.exe
VfwUpd.exe        ; from Creative

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

[CtlCam.Uninstall]
DelFiles=         CTL.CopyKernDrivers,CTL.CopyBulkDriver,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.CopyBulkDriver,CTL.W2K.CopyWinFiles,CTL.CopyTwainFiles,CTL.CopyUserSysFiles
DelReg=           CtlCam.DelReg
;DelService=       %szVideoServiceName%,%SERVICE_STOP_SERVICE%,,
;DelService=       %szBulkServiceName%,%SERVICE_STOP_SERVICE%,,
UpdateInis=       CtlCam.DelIni
ctDelDevices=     CtlCam.DelDevices
ctDelCatFile=     CtlCam.DelCatFile
ctDelDevClassInst=CtlCam.DelDevClass

[CtlCam.DelReg]
HKLM,%szConfigRegistry%
HKLM,%MSUninstall%\%szUninstall%
HKCR,CLSID\%szSTIDevice.GUID%
HKCR,CLSID\%szCustomStreamConfig.GUID%
HKCR,CLSID\%szCustomDevSetting.GUID%
HKCR,CLSID\%szCustomAdvSetting.GUID%
HKCR,CLSID\%szWIADevice.GUID%
HKLM,%MSMediaSets%\%szCustomInterface.GUID%
HKLM,%MSMediaInterfaces%\%szCustomInterface.GUID%
HKLM,%MSMediaResMSVideo%\MSVideo.%szVfwKey%
HKCR,CLSID\%szVendor.01.GUID%
HKCR,CLSID\%szVendor.02.GUID%
HKCR,CLSID\%szVendor.03.GUID%
HKCR,CLSID\%szVendor.04.GUID%
HKCR,CLSID\%szVendor.05.GUID%
HKLM,"Software\Endpoints\TWAIN Data Source\1.0\Cameras\0x041e4015"

[CtlCam.DelIni]
System.ini,drivers32,"VIDC.UV12=p1080dex.ax",,0
System.ini,drivers,"MsVideo.%szVfwKey%=p1080vfw.drv",,0

[CtlCam.DelCatFile]
Pd1080.cat

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

[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
{649b343b-211b-48e3-9fc1-aa1ca8d595a9},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\PD1080"
szLaunchApp       ="Open Application"
szStiAppName      ="PC-CAM Center"
szUninstall       ="Creative PD1080"
szVideoServiceName="P1080VID"
szBulkServiceName ="P1080BLK"
szVfwKey          ="P1080VFW"
szVfwDeviceDesc   ="Creative CardCam Value (VFW)"
szSTIDevice.GUID  ="{4F221CC8-F791-45fe-94B7-B0434B7B707F}"
szWIADevice.GUID  ="{0EB7BFFF-33A9-4dd7-9C93-EF709A1DFC02}"

; Custom Property pages
szCustomInterface.GUID        ="{0590D4C0-B6D6-11d2-9D67-00A0CC242499}"
szCustomStreamConfig.GUID     ="{99E602C7-1F48-445c-B86E-A974FE028B04}"
szCustomDevSetting.GUID       ="{2C7C55F9-8440-40c4-9546-EE32522943DA}"
szCustomAdvSetting.GUID       ="{5C8A40E4-29F3-4f1e-8A70-80FBFDAA9C4F}"
szVendor.01.GUID              ="{96EBD31C-05A9-435C-9A5F-F475DC45E4C9}"
szVendor.02.GUID              ="{9B0EE5E0-0F30-11D6-8886-0800460222F0}"
szVendor.03.GUID              ="{A62B4F71-524D-43D4-B53A-8E78658C2E5A}"
szVendor.04.GUID              ="{AC012497-C330-42CA-96AB-FCB237A81EC5}"
szVendor.05.GUID              ="{0590D4C0-B6D6-11D2-9D67-00A0CC242499}"
