; ; ; ; 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 ; =,
; ; specifies if this should be ran first, second, etc -- starts at 1. ; can be any of the functions listed below ; 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 ; =,[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 ; =application ; This function attempts to stop each of the specified applications if they are running. ; ; Devices function ; = ; 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 ; 4=Rename inf and remove corresponding pnf files that match on the device id; Do not remove the device ; 8=Restore filenames of inf files that match on the device id; Do not remove the device ; ; PrinterDrivers function ; = ; 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 ; = ; This function deletes any scanners with the specified name. ; ; Monitors function ; = ; 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 ; = ; This function deletes the specified print processors. ; ; Files function ; =,[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 ; = ; This function removes all occurances of string from the DevicePath ; ; Registry function ; =,[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 ; = ; This function removes any unused ports that contain the string in the port name. ; [Scrubber] Key=72A9 Version=2.7.0.0 RunAfterReboot=False [Main] 1=PrinterDrivers,PrinterDriverSection 2=Devices,DeviceSection 3=ScannerDrivers,ScannerSection 4=RunApplications,RunApplicationsSection 5=Files,FileSection 6=Registry,RegistrySection [PrinterDriverSection.NT] 1=HP LaserJet M1522 MFP Series PCL 6 2=HP LaserJet M1522 MFP Series PS ;4=HP LaserJet M1522 Fax [DeviceSection] 1=Vid_03f0&Pid_4517,1 2=Vid_03f0&Pid_4c17,1 3=Hewlett-PackardHP_La9AD2,1 4=Hewlett-PackardHP_La788B,1 [ScannerSection] 1=HP LaserJet M1522n MFP 2=HP LaserJet M1522nf MFP [FileSection.NT] 1=%ProgramFilesDir%\HP\Temp\{C8A37F1F-E13B-48ae-93F8-4669264969F9},6 2=%ProgramFilesDir%\HP\{C8A37F1F-E13B-48ae-93F8-4669264969F9},6 3=%ProgramFilesDir%\HP\Digital Imaging\help\LaserJet03.chm,6 4=%WindowsDir%\System32\hppapr08.dat,3 5=%WindowsDir%\System32\hppcpr08.dll,3 6=%WindowsDir%\System32\hppcew08.dll,3 7=%WindowsDir%\System32\hppasc08.dll,3 8=%WindowsDir%\System32\hppafx08.dll,3 9=%WindowsDir%\System32\hpst1522.dll,3 10=%WindowsDir%\System32\hpxp1522.dll,3 11=%WindowsDir%\System32\hpptsp03.dll,3 12=%WindowsDir%\System32\hppasc08_x64.dll,3 13=%WindowsDir%\System32\hppdew09_x64.dll,3 14=%WindowsDir%\System32\hppdpr08_x64.dll,3 15=%WindowsDir%\System32\hpptsp03_x64.dll,3 16=%WindowsDir%\System32\hpxp1522_x64.dll,3 [RegistrySection] 1=HKLM\Software\Hewlett-Packard\HPZ\Glue\HP LaserJet M1522,1 2=HKLM\Software\Hewlett-Packard\hpp 3=HKLM\Software\Hewlett-Packard\PNP\LJM1522 4=HKLM\Software\Hewlett-Packard\HP_LaserJet_M1522 5=HKLM\Software\Hewlett-Packard\DigitalImaging\HP LaserJet M1522 MFP Series PCL 6,1 6=HKLM\Software\Hewlett-Packard\DigitalImaging\CtxMgr\ProductClasses\HP LaserJet M1522 MFP Series PCL 6 7=HKLM\Software\Hewlett-Packard\usg\HP LaserJet M1522n MFP,1 8=HKLM\Software\Hewlett-Packard\usg\HP LaserJet M1522nf MFP,1 9=HKLM\Software\Hewlett-Packard\{{C8A37F1F-E13B-48ae-93F8-4669264969F9}-hppprl01.dat 10=HKLM\Software\Hewlett-Packard\{C8A37F1F-E13B-48ae-93F8-4669264969F9}-Setup-hpzprl01.dat 11=HKLM\Software\Hewlett-Packard\Installed Products\{C8A37F1F-E13B-48ae-93F8-4669264969F9} 12=HKLM\Software\Hewlett-Packard\Installed Products\{B263AE1B-2FED-4e03-A621-129E369CC1BA} 13=HKLM\Software\Hewlett-Packard\Installed Products\{9D3FB37B-6053-47c7-91C6-D0028FADE836} 14=HKLM\Software\Hewlett-Packard\DigitalImaging\DeviceDiscovery\NetworkPorts\HPLaserJetM1522,1 15=HKLM\Software\Hewlett-Packard\DigitalImaging\CtxInfo\PlugIns\HP LaserJet M1522 MFP Series PCL 6 16=HKLM\Software\Hewlett-Packard\DigitalImaging\CtxInfo\PlugIns\HP LaserJet M1522 MFP Series PS 17=HKLM\Software\Hewlett-Packard\HPZ\Glue\HP LaserJet M1522 MFP Series,1 18=HKLM\Software\Hewlett-Packard\HPZ\Glue\HP LaserJet M1522,1 ; ; 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 LaserJet M1522\UninstallString ;ProgramsDir=HKLM\SOFTWARE\Hewlett-Packard\HP_Color_LaserJet_CM1017\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= [RunApplicationsSection] 1="%INSTALLDIR%HP LaserJet M1522\uninstall.exe" -s