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


[Version]
Signature="$Windows NT$"

[DestinationDirs]
DefaultDestDir = 11
CtlCam.CopyDrivers = 10,system32\drivers
CtlCam.CopyDrivers.NT = 10,system32\drivers
CtlCam.CopyTwain = 10,twain_32\Creative\PD1070
CtlCam.CopyWinFiles = 10
CtlCam.CopyUserDrivers = 11

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

[CtlCam.CopyDrivers]
p1070crt.sys
p1070bas.sys

[CtlCam.CopyDrivers.NT]
p1070crt.sys
p1070bas.sys

[CtlCam.CopyWinFiles]
ctdrvins.exe
p1070.uns

[CtlCam.CopyUserDrivers]
p1070pin.crl
p1070pin.dll
p1070img.dll
p1070int.dll

[CtlCam.CopyTwain]
p1070twn.ds
t05-a02-f02.pack

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

[CtlCam.Device.Uninstall]
DelFiles=         CtlCam.CopyDrivers, CtlCam.CopyTwain, CtlCam.CopyWinFiles, CtlCam.CopyUserDrivers
DelReg=           CtlCam.DelReg,CtlCam.Service.DelReg
ctDelDevices=     CtlCam.DelDevices
ctDelDevClassInst= CtlCam.DelDevClass

[CtlCam.Device.Uninstall.NT]
DelFiles=         CtlCam.CopyDrivers.NT, CtlCam.CopyTwain, CtlCam.CopyWinFiles, CtlCam.CopyUserDrivers
DelReg=           CtlCam.DelReg, CtlCam.Service.DelReg
DelService=       SMALUSB,%SERVICE_STOP_SERVICE%,,
;;;DelService=       %szServiceName%,%SERVICE_STOP_SERVICE%,,
ctDelDevices=     CtlCam.DelDevices


[CtlCam.DelReg]
HKLM,%szConfigRegistry%
HKLM,Software\Microsoft\Windows\CurrentVersion\Uninstall\%szUninstall%


[CtlCam.DelDevices]
USB\VID_041E&PID_4016
USB\VID_0DCA&PID_0005


[CtlCam.Service.DelReg]
HKLM,System\CurrentControlSet\Services\SMALUSB
;;;HKLM,System\CurrentControlSet\Services\%szServiceName%

[CtlCam.DelDevClass]
{84bce711-83b4-4176-96e7-ab9ecd9801b6},0
{894a7461-a033-11d2-821e-444553540000},0
{a5dcbf10-6530-11d2-901f-00c04fb951ed},0

[CtlCam.DelCatFile]

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

[Strings]
SERVICE_STOP_SERVICE=0x200

; For uninstallation only
DELETE_CLASS_IF_NO_INST=1

;-------------------------------------
; User-definable - hardware dependent
;-------------------------------------
szConfigRegistry     ="Software\Creative Tech\Video Blaster\Creative CardCam"
szUninstall          ="Creative CardCam"
szUninstallDisplay   ="Creative CardCam Driver"
szDiskName           ="Creative CardCam Driver Disk"
szServiceName        ="SMALUSB"
