;------------------------------------------------------------------------------
; P1001Vid.UNS -- Creative WebCam Model Number PD1001 uninstallation
; Copyright (c) 2002 Creative Technology Ltd. All rights reserved.
;------------------------------------------------------------------------------

;------------------ Version ----------------------------------------------------

[Version]
Signature ="$CHICAGO$"

;------------------ DestinationDirs --------------------------------------------

[DestinationDirs]
DefaultDestDir            =11
CtlCam1.CopyWDMDrivers    =10,System32\Drivers
CtlCam1.CopyWDMDrivers.NT =12
CtlCam1.CopyUserDrivers   =11
CtlCam1.CopyVFWDrivers    =11
CtlCam1.CopyVFWDrivers.NT =11
CtlCam1.CopySTIDrivers    =11
CtlCam1.CopyTWAINDrivers  =11
CtlCam1.CopyWinFiles      =10

CtlCamb.CopyWDMDrivers    =10,System32\Drivers
CtlCamb.CopyWDMDrivers.NT =12
CtlCamb.CopyUserDrivers   =11
CtlCamb.CopyVFWDrivers    =11
CtlCamb.CopyVFWDrivers.NT =11
CtlCamb.CopySTIDrivers    =11
CtlCamb.CopyTWAINDrivers  =11
CtlCamb.CopyWinFiles      =10

CtlCam.CopyTWAINMapper    =10,TWAIN_32\Creative\%PD1001.szModelNo%

;------------------ CopyFiles --------------------------------------------------
[CtlCam1.CopyWDMDrivers]
P1001Vid.sys
P1001Cam.sys

[CtlCam1.CopyWDMDrivers.NT]
P1001Vid.sys
P1001Cam.sys

[CtlCam1.CopyUserDrivers]
P1001Dex.ax
P1001Dx2.ax
P1001Dsx.ax
P1001Dsx.crl
P1001Pin.dll
P1001Pin.crl

[CtlCam1.CopyVFWDrivers]
P1001Vfw.drv

[CtlCam1.CopyVFWDrivers.NT]
P1001Vfw.dll

[CtlCam1.CopySTIDrivers]
P1001Sti.dll

[CtlCam1.CopyTWAINDrivers]
P1001Twn.ds
P1001Twn.ini

[CtlCam1.CopyWinFiles]
P1001Vid.uns
P1001Cfg.exe
P1001Cfg.crl

[CtlCamb.CopyWDMDrivers]
P101bVid.sys
P101bCmD.sys

[CtlCamb.CopyWDMDrivers.NT]
P101bVid.sys
P101bCmD.sys

[CtlCamb.CopyUserDrivers]
P101bDex.ax
P101bDex.crl
P101bPin.dll
P101bPin.crl

[CtlCamb.CopyVFWDrivers]
P101bVfw.drv

[CtlCamb.CopyVFWDrivers.NT]
P101bVfw.dll

[CtlCamb.CopySTIDrivers]
P101bSti.dll

[CtlCamb.CopyWinFiles]
P1001Vid.uns
P101bCfg.exe
P101bCfg.crl

[CtlCamb.CopyTWAINDrivers]
P101bTwn.ds

[CtlCam.CopyTWAINMapper]
P1001TMp.ds

;------------------ Uninstall Section ------------------------------------------

[CtlCam1.Uns]
DelFiles          =CtlCam1.CopyWDMDrivers,CtlCam1.CopyUserDrivers,CtlCam1.CopyVFWDrivers,CtlCam1.CopySTIDrivers,CtlCam1.CopyTWAINDrivers,CtlCam1.CopyWinFiles,CtlCamb.CopyWDMDrivers,CtlCamb.CopyUserDrivers,CtlCamb.CopyVFWDrivers,CtlCamb.CopySTIDrivers,CtlCamb.CopyTWAINDrivers,CtlCamb.CopyWinFiles,CtlCam.CopyTWAINMapper
DelReg            =CtlCam.DelReg
UpdateInis        =CtlCam.DelIni
ctDelCatFile      =CtlCam.DelCatFile
ctDelDevClassInst =CtlCam.DelDevClass
ctDelDevices      =CtlCam.DelDevices

[CtlCam1.Uns.NT]
DelService        =%PD1001.szVideoServiceName%,0x200,,
DelFiles          =CtlCam1.CopyWDMDrivers.NT,CtlCam1.CopyUserDrivers,CtlCam1.CopyVFWDrivers.NT,CtlCam1.CopySTIDrivers,CtlCam1.CopyTWAINDrivers,CtlCam1.CopyWinFiles,CtlCamb.CopyWDMDrivers.NT,CtlCamb.CopyUserDrivers,CtlCamb.CopyVFWDrivers.NT,CtlCamb.CopySTIDrivers,CtlCamb.CopyTWAINDrivers,CtlCamb.CopyWinFiles,CtlCam.CopyTWAINMapper
DelReg            =CtlCam.DelReg
ctDelCatFile      =CtlCam.DelCatFile
ctDelDevClassInst =CtlCam.DelDevClass
ctDelDevices      =CtlCam.DelDevices

[CtlCamb.Uns]
DelFiles          =CtlCam1.CopyWDMDrivers,CtlCam1.CopyUserDrivers,CtlCam1.CopyVFWDrivers,CtlCam1.CopySTIDrivers,CtlCam1.CopyTWAINDrivers,CtlCam1.CopyWinFiles,CtlCamb.CopyWDMDrivers,CtlCamb.CopyUserDrivers,CtlCamb.CopyVFWDrivers,CtlCamb.CopySTIDrivers,CtlCamb.CopyTWAINDrivers,CtlCamb.CopyWinFiles,CtlCam.CopyTWAINMapper
DelReg            =CtlCam.DelReg
UpdateInis        =CtlCam.DelIni
ctDelCatFile      =CtlCam.DelCatFile
ctDelDevClassInst =CtlCam.DelDevClass
ctDelDevices      =CtlCam.DelDevices

[CtlCamb.Uns.NT]
DelService        =%PD101b.szVideoServiceName%,0x200,,
DelFiles          =CtlCam1.CopyWDMDrivers.NT,CtlCam1.CopyUserDrivers,CtlCam1.CopyVFWDrivers.NT,CtlCam1.CopySTIDrivers,CtlCam1.CopyTWAINDrivers,CtlCam1.CopyWinFiles,CtlCamb.CopyWDMDrivers.NT,CtlCamb.CopyUserDrivers,CtlCamb.CopyVFWDrivers.NT,CtlCamb.CopySTIDrivers,CtlCamb.CopyTWAINDrivers,CtlCamb.CopyWinFiles,CtlCam.CopyTWAINMapper
DelReg            =CtlCam.DelReg
ctDelCatFile      =CtlCam.DelCatFile
ctDelDevClassInst =CtlCam.DelDevClass
ctDelDevices      =CtlCam.DelDevices

[CtlCam.DelReg]
; PD1001
HKLM,%PD1001.CTConfigRegistry%
HKCR,CLSID\%PD1001.STIDevice.GUID%
HKCR,CLSID\%PD1001.CustomPropSet.GUID%
HKCR,CLSID\%PD1001.DeviceSettings.GUID%
HKCR,CLSID\%PD1001.AdvancedSettings.GUID%
HKCR,CLSID\%PD1001.VideoFormat.GUID%
HKLM,%MSMediaSets%\%PD1001.CustomPropSet.GUID%
HKLM,%MSMediaCategories%\%MSVideoCapturePin.GUID%\PropertyPages\%PD1001.VideoFormat.GUID%
HKLM,%MSMediaResMSVideo%\MSVideo.%PD1001.szVfwKey%
HKLM,%MSRunOnce%,%PD1001.szDeviceSetupDesc%
HKLM,%MSRunOnce%,%PD1001.szConfigAppRegistry%
HKLM,%MSRunOnce%,%PD101b.szConfigAppRegistry%
HKLM,%MSRunOnce%,%PD1001.szConfigSetupDesc%
HKLM,%MSUninstall%\%szUninstall%

; PD101b
HKLM,%PD101b.CTConfigRegistry%
HKCR,CLSID\%PD101b.STIDevice.GUID%
HKCR,CLSID\%PD101b.CustomPropSet.GUID%
HKCR,CLSID\%PD101b.DeviceSettings.GUID%
HKCR,CLSID\%PD101b.AdvancedSettings.GUID%
HKCR,CLSID\%PD101b.VideoFormat.GUID%
HKLM,%MSMediaSets%\%PD101b.CustomPropSet.GUID%
HKLM,%MSMediaCategories%\%MSVideoCapturePin.GUID%\PropertyPages\%PD101b.VideoFormat.GUID%
HKLM,%MSMediaResMSVideo%\MSVideo.%PD101b.szVfwKey%
HKLM,%MSRunOnce%,%PD1001.szDeviceSetupDesc%
HKLM,%MSRunOnce%,%PD1001.szConfigAppRegistry%
HKLM,%MSRunOnce%,%PD101b.szConfigAppRegistry%
HKLM,%MSRunOnce%,%PD1001.szConfigSetupDesc%
HKLM,%MSUninstall%\%szUninstall%

[CtlCam.DelIni]
System.ini,Drivers,"MSVideo.%PD1001.szVfwKey%=%PD1001.szVfwDriver%",,0
System.ini,Drivers,"MSVideo.%PD101b.szVfwKey%=%PD101b.szVfwDriver%",,0

[CtlCam.DelCatFile]
P1001Vid.cat

[CtlCam.DelDevices]
USB\VID_041E&PID_400D
USB\VID_05A9&PID_0518

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

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

[Strings]
;------------------------------------------
; ** do not change the following strings **
;------------------------------------------
MSMediaSets              ="SYSTEM\CurrentControlSet\Control\MediaSets"
MSMediaCategories        ="System\CurrentControlSet\Control\MediaCategories"
MSVideoCapturePin.GUID   ="{FB6C4281-0353-11d1-905F-0000C0CC16BA}"
MSRunOnce                ="SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnce"
MSUninstall              ="SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall"
MSMediaResMSVideo        ="SYSTEM\CurrentControlSet\Control\MediaResources\msvideo"

;---------------------------------------
; ** following strings rarely changed **
;---------------------------------------

CTUninstall         ="SOFTWARE\Creative Tech\Driver Uninstaller"

;------------------------------------------
; ** following strings change per device **
;------------------------------------------
; P1001 description
PD1001.szModelno              ="PD1001"
PD1001.szVideoServiceName     ="P1001VID"
PD1001.CTConfigRegistry       ="Software\Creative Tech\Web Cameras\PD1001"
PD1001.szVfwKey               ="PD1001"
PD1001.szConfigAppRegistry    ="PD1001 Config Applet"
PD1001.szUninstall            ="Creative PD1001"

; P101b description
PD101b.szModelno              ="PD101b"
PD101b.szVideoServiceName     ="P101bVID"
PD101b.CTConfigRegistry       ="Software\Creative Tech\Web Cameras\PD101b"
PD101b.szVfwKey               ="PD101b"
PD101b.szConfigAppRegistry    ="PD101b Config Applet"
PD101b.szUninstall            ="Creative PD101b"

; common description
PD1001.szDeviceSetupDesc      ="Creative WebCam Setup"
PD1001.szConfigSetupDesc      ="Creative WebCam Config"
szUninstall                   ="Creative WebCam"

; PD1001 GUIDs
PD1001.STINewPicture.GUID     ="{61127F40-E1A5-11D0-B454-00A02438AD48}"
PD1001.STILaunchApp.GUID      ="{FAA10A9D-3727-4327-9A82-C0C42A078EBD}"
PD1001.STIDevice.GUID         ="{28498120-0939-11d6-8886-0800460222F0}"
PD1001.DeviceSettings.GUID    ="{F5CC2CC0-04EC-11d6-8886-0800460222F0}"
PD1001.AdvancedSettings.GUID  ="{F5CC2CC1-04EC-11d6-8886-0800460222F0}"
PD1001.VideoFormat.GUID       ="{18CBEE95-F99A-4c28-9F90-A59154E006AB}"
PD1001.CustomPropSet.GUID     ="{7C5D9D20-5C2A-11D6-888B-0800460222F0}"

; PD101b GUIDs
PD101b.STINewPicture.GUID     ="{00506AC1-2B95-11D6-96C5-00D0B7C7235A}"
PD101b.STILaunchApp.GUID      ="{00506AC0-2B95-11D6-96C5-00D0B7C7235A}"
PD101b.STIDevice.GUID         ="{00506AC3-2B95-11d6-96C5-00D0B7C7235A}"
PD101b.DeviceSettings.GUID    ="{55AAACC1-45DC-428D-954E-27C722BFBE72}"
PD101b.AdvancedSettings.GUID  ="{55AAACC2-45DC-428D-954E-27C722BFBE72}"
PD101b.VideoFormat.GUID       ="{55AAACC3-45DC-428D-954E-27C722BFBE72}"
PD101b.CustomPropSet.GUID     ="{3DE6EB40-5767-11D6-8645-00D0B7C7235A}"

; PD1001 filename
PD1001.szVFWDriver            ="P1001Vfw.drv"

; PD101b filename
PD101b.szVFWDriver            ="P101bVfw.drv"
