;
;
;
; The scrubber supports decorated sections as follows
;
;  [Section.95]  - Windows 95
;  [Section.98]  - Windows 98
;  [Section.Me]  - Windows Me
;  [Section.NT4] - Windows NT4
;  [Section.2K]  - Windows 2000
;  [Section.XP]  - Windows XP
;
;  [Section.9X]  - Windows 95, 98, and Me
;  [Section.NT]  - Windows NT4, 2000, and XP
;
;  [Section]     - all OS's
;
; The order of precedence for decoration in decending order is as follows
;  OS specific (95, 98, Me, NT4, 2000, XP)
;  Platform (9x, NT)
;  Undecorated
;
; The main section is special as it specifies the execution order of the
; scrubber.  The format of the main section is
;  <Number>=<ScrubberFunction>,<Section Name>
;
;  <Number> specifies if this should be ran first, second, etc -- starts at 1.
;  <ScrubberFunction> can be any of the functions listed below
;  <SectionName> is the name of the section with parameters for the scrubber function.
;
; The following scrubber functions are supported
;  RunApplications      Applications to run
;  KillApplications    	Kill problem applications
;  Devices             	Remove devices, drivers, and inf files
;  PrinterDrivers	Remove printers and drivers
;  ScannerDrivers	Remove scanners and drivers
;  Monitors         	Remove language monitors
;  PrintProcessors     	Remove print processors
;  Files              	Remove files
;  DevicePath         	Remove strings from the device path key
;  Registry           	Remove registry keys
;  UnusedPorts		Remove unused virtual ports from the system
;
; RunApplications function
;  <number>=<application>,[flags]
;  This function executes each of the specified applications.  The default behavior
;  is to wait for the application to complete before continuing and to ignore
;  the exit code of the application.  This behavior can be modified by the following
;  flags that are or'd together.
;    1=Do not wait for application to complete.
;    2=Do not show the application window.
;    4=Stop scrubbing if the return value is zero.
;    8=Stop scrubbing if the return value is non-zero.
;   16=Stop scrubbing if the executable file is not found.
;
; KillApplications function
;  <number>=application
;  This function attempts to stop each of the specified applications if they are running.
;
; Devices function
;  <number>=<device id>
;  This function attempts to remove the device.  The default behavior is to only remove the
;  device.  This behavior can be modified with the following flag
;    1=Remove inf and pnf files that match on the device id
;    2=Do not remove the device
;
; PrinterDrivers function
;  <number>=<printer driver>
;  This function cancels any print jobs for printers using the specified drivers, deletes
;  all printers using the driver, and then deletes the driver.
;
; ScannerDrivers function
;  <number>=<scanner driver>
;  This function deletes any scanners with the specified name.
;
; Monitors function
;  <number>=<monitor>
;  This function deletes the specified language monitors.  The monitor will not be deleted if
;  it is currently being used by another printer driver.
;
; PrintProcessors function
;  <number>=<print processor>
;  This function deletes the specified print processors.
;
; Files function
;  <number>=<file>,[flags]
;  This function removes the specified file or directory.  The default behavior is to simply
;  attempt to delete the file or directory.  This behavior can be modified with the folowing
;  flags that are or'd together.
;    1=Set file attributes to normal before attempting to delete the file.
;    2=Set the file for deletion on reboot if the file is in use.
;    4=Recursively remove files if a directory is specified.
;
; DevicePath function
;  <number>=<string>
;  This function removes all occurances of string from the DevicePath
;
; Registry function
;  <number>=<key>,[flags]
;  This function deletes the specified key or value from the registry.  The default behavior is
;  to delete the key or value only if it exactly matches the key specified.  This behavior can be
;  modified with the following flag
;    1 = Delete the key based on a substring match.  The example below would delete all keys
;        under HKLM\Software\Hewlett-Packard that had LaserJet2840 as a substring.
;        HKLM\Software\Hewlett-Packard\LaserJet2840,1

; UnusedPorts function
;  <number>=<string>
;  This function removes any unused ports that contain the string in the port name.
;

[Scrubber]
Key=DFE0
Version=2.7.0.3
RunAfterReboot=False

[Main]
1=PrinterDrivers,PrinterDriverSection
2=Devices,DeviceSection
;3=ScannerDrivers,ScannerSection
3=Files,FileSection
4=Registry,RegistrySection

[PrinterDriverSection.9X]
1=HP Color LaserJet 2605 PCL6
2=HP Color LaserJet 2605 PS

[PrinterDriverSection.NT]
1=HP Color LaserJet 2605 PCL 6
2=HP Color LaserJet 2605dn_2605dtn PCL 6
3=HP Color LaserJet 2605 PS  
4=HP Color LaserJet 2605dn_2605dtn PS 

[DeviceSection]
1=Vid_03f0&Pid_3617,1
2=Vid_03f0&Pid_2F17,1
3=Vid_03f0&Pid_3117,1
4=Hewlett-PackardHP_CoBA25,1
5=Hewlett-PackardHP_Co0F30,1
6=Hewlett-PackardHP_Co9885,1

[FileSection.9X]
1=%WindowsDir%\inf\Other\HPhppbew02.inf,3
2=%WindowsDir%\inf\Other\HPhppbhb02.inf,3
3=%WindowsDir%\inf\Other\HPhppbms02.inf,3
4=%WindowsDir%\inf\Other\HPhppbp602.inf,3
5=%WindowsDir%\inf\Other\HPhppbus02.inf,3
6=%ProgramFilesDir%\HP\Temp\{4E59AA98-3EF3-47A3-9DEA-6B37F00C901F},6
7=%ProgramFilesDir%\HP\{4E59AA98-3EF3-47A3-9DEA-6B37F00C901F},6

[FileSection.NT]
1=%ProgramFilesDir%\HP\Temp\{4E59AA98-3EF3-47A3-9DEA-6B37F00C901F},6
2=%ProgramFilesDir%\HP\{4E59AA98-3EF3-47A3-9DEA-6B37F00C901F},6
3=%ProgramFilesDir%\HP\Digital Imaging\help\LaserJet02.chm

[RegistrySection]
1=HKLM\Software\Hewlett-Packard\HPZ\Glue\HP Color LaserJet 2605,1
2=HKLM\Software\Hewlett-Packard\hpp
3=HKLM\Software\Hewlett-Packard\PNP\CLJ2605
4=HKLM\Software\Hewlett-Packard\HP_Color_LaserJet_2605
5=HKLM\Software\Hewlett-Packard\DigitalImaging\HP Color LaserJet 2605,1
6=HKLM\Software\Hewlett-Packard\DigitalImaging\Unload\ProductClasses\HP Color LaserJet 2605
7=HKLM\Software\Hewlett-Packard\usg\HP Color LaserJet 2605,1
8=HKLM\Software\Hewlett-Packard\{4E59AA98-3EF3-47A3-9DEA-6B37F00C901F}-Setup-hpzprl01.dat

;
; User specified variables
;  Predefined varibles are:
;	SystemDir=GetSystemDirectory()
;	WindowsDir=GetWindowsDirectory()
;	PrinterDriverDir=GetPrinterDriverDirectory()
;	ProgramFilesDir=HKLM\Software\Microsoft\Windows\CurrentVersion\ProgramFilesDir

[VAR]
Uninstaller=HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall\HP Color LaserJet 2605\UninstallString
;ProgramsDir=HKLM\SOFTWARE\Hewlett-Packard\HP_Color_LaserJet_2605\hp lj root dir

;
; These variables obtain their value from a registry key.  The specified
; value is the default value should the key not be present.
;
[VarFromKey]
Uninstaller=
;ProgramsDir=
