Source code of Windows XP (NT5)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

149 lines
6.2 KiB

  1. [Version]
  2. Signature="$CHICAGO$"
  3. [RegDll]
  4. ComponentName=Shell.Dataclen
  5. ComponentVersion=5.0
  6. AdvOptions=44
  7. AddReg=RegCleaners
  8. RequiredEngine=SETUPAPI,"Error"
  9. [UnregDll]
  10. ComponentName=Shell.Dataclen
  11. AdvOptions=260
  12. RequiredEngine=SETUPAPI,"Error"
  13. [RegCleaners]
  14. ; the basic data driven cleaner
  15. HKCR,"CLSID\%CLSID_DATACLEANER%",,,"Data Driven Cleaner"
  16. HKCR,"CLSID\%CLSID_DATACLEANER%\InProcServer32",,%REGEXSZ%,"%11%\DATACLEN.DLL"
  17. HKCR,"CLSID\%CLSID_DATACLEANER%\InProcServer32",ThreadingModel,,Apartment
  18. ;
  19. ; The prop bags (use to get localized strings)
  20. ;
  21. HKCR,"CLSID\%CLSID_OLDFILESPROPBAG%",,,"Old Files In Root Prop Bag"
  22. HKCR,"CLSID\%CLSID_OLDFILESPROPBAG%\InProcServer32",,%REGEXSZ%,"%11%\DATACLEN.DLL"
  23. HKCR,"CLSID\%CLSID_OLDFILESPROPBAG%\InProcServer32",ThreadingModel,,Apartment
  24. HKCR,"CLSID\%CLSID_TEMPFILESPROPBAG%",,,"Temp Files Prop Bag"
  25. HKCR,"CLSID\%CLSID_TEMPFILESPROPBAG%\InProcServer32",,%REGEXSZ%,"%11%\DATACLEN.DLL"
  26. HKCR,"CLSID\%CLSID_TEMPFILESPROPBAG%\InProcServer32",ThreadingModel,,Apartment
  27. HKCR,"CLSID\%CLSID_SETUPFILESPROPBAG%",,,"Setup Files Prop Bag"
  28. HKCR,"CLSID\%CLSID_SETUPFILESPROPBAG%\InProcServer32",,%REGEXSZ%,"%11%\DATACLEN.DLL"
  29. HKCR,"CLSID\%CLSID_SETUPFILESPROPBAG%\InProcServer32",ThreadingModel,,Apartment
  30. HKCR,"CLSID\%CLSID_UNNSTALLPROPBAG%",,,"Uninstall Prop Bag"
  31. HKCR,"CLSID\%CLSID_UNNSTALLPROPBAG%\InProcServer32",,%REGEXSZ%,"%11%\DATACLEN.DLL"
  32. HKCR,"CLSID\%CLSID_UNNSTALLPROPBAG%\InProcServer32",ThreadingModel,,Apartment
  33. ;
  34. ; the cleaners
  35. ;
  36. HKLM,"%VOLUMECACHES%\%KEY_TEMPFILES%",,,"%CLSID_DATACLEANER%"
  37. HKLM,"%VOLUMECACHES%\%KEY_TEMPFILES%","PropertyBag",,"%CLSID_TEMPFILESPROPBAG%"
  38. HKLM,"%VOLUMECACHES%\%KEY_TEMPFILES%","FileList",,"*.*"
  39. HKLM,"%VOLUMECACHES%\%KEY_TEMPFILES%","Folder",%REGEXSZ%,"%TEMP%"
  40. HKLM,"%VOLUMECACHES%\%KEY_TEMPFILES%","Flags",%REGDW%,"0x41"
  41. HKLM,"%VOLUMECACHES%\%KEY_TEMPFILES%","LastAccess",%REGDW%,"7"
  42. ;
  43. ; register the cleaner for the content indexer
  44. ;
  45. HKCR,"CLSID\%CLSID_INDEXCLEANER%",,,"Content Indexer Cleaner"
  46. HKCR,"CLSID\%CLSID_INDEXCLEANER%\InProcServer32",,%REGEXSZ%,"%11%\DATACLEN.DLL"
  47. HKCR,"CLSID\%CLSID_INDEXCLEANER%\InProcServer32",ThreadingModel,,Apartment
  48. HKCR,"CLSID\%CLSID_INDEXCLEANER%\DefaultIcon",,%REGEXSZ%,"%11%\DATACLEN.DLL,1"
  49. HKCR,"CLSID\%CLSID_INDEXCLEANERPROPBAG%",,,"Index Cleaner Prop Bag"
  50. HKCR,"CLSID\%CLSID_INDEXCLEANERPROPBAG%\InProcServer32",,%REGEXSZ%,"%11%\DATACLEN.DLL"
  51. HKCR,"CLSID\%CLSID_INDEXCLEANERPROPBAG%\InProcServer32",ThreadingModel,,Apartment
  52. ;
  53. ; register the compression cleaner
  54. ;
  55. HKCR,"CLSID\%CLSID_COMPRESSCLEANER%",,,"Compress Files Cleaner"
  56. HKCR,"CLSID\%CLSID_COMPRESSCLEANER%\InProcServer32",,%REGEXSZ%,"%11%\DATACLEN.DLL"
  57. HKCR,"CLSID\%CLSID_COMPRESSCLEANER%\InProcServer32",ThreadingModel,,Apartment
  58. HKCR,"CLSID\%CLSID_COMPRESSCLEANER%\DefaultIcon",,%REGEXSZ%,"%11%\DATACLEN.DLL,2"
  59. ;
  60. ; register Old files in root, the NT one...
  61. ;
  62. HKLM,"%VOLUMECACHES%\%KEY_CHKDSK%",,,"%CLSID_DATACLEANER%"
  63. HKLM,"%VOLUMECACHES%\%KEY_CHKDSK%","PropertyBag",,"%CLSID_OLDFILESPROPBAG%"
  64. HKLM,"%VOLUMECACHES%\%KEY_CHKDSK%","FileList",,"*.CHK"
  65. HKLM,"%VOLUMECACHES%\%KEY_CHKDSK%","Folder",,"?:\FOUND.000|?:\FOUND.001|?:\FOUND.002|?:\FOUND.003|?:\FOUND.004|?:\FOUND.005|?:\FOUND.006|?:\FOUND.007|?:\FOUND.008|?:\FOUND.009"
  66. HKLM,"%VOLUMECACHES%\%KEY_CHKDSK%","Flags",%REGDW%,"0x120"
  67. HKLM,"%VOLUMECACHES%\%KEY_CHKDSK%","IconPath",%REGEXSZ%,"%11%\DATACLEN.DLL,3"
  68. ;
  69. ; The content indexer cleaner
  70. ;
  71. HKLM,"%VOLUMECACHES%\%KEY_INDEXCLEANER%",,,"%CLSID_INDEXCLEANER%"
  72. HKLM,"%VOLUMECACHES%\%KEY_INDEXCLEANER%","PropertyBag",,"%CLSID_INDEXCLEANERPROPBAG%"
  73. HKLM,"%VOLUMECACHES%\%KEY_INDEXCLEANER%","FileList",,"*.*"
  74. HKLM,"%VOLUMECACHES%\%KEY_INDEXCLEANER%","Folder",,"?:\Catalog.wci"
  75. HKLM,"%VOLUMECACHES%\%KEY_INDEXCLEANER%","Flags",%REGDW%,"0x141"
  76. HKLM,"%VOLUMECACHES%\%KEY_INDEXCLEANER%","Priority",%REGDW%,"0x12c"
  77. ;
  78. ; the compression cleaner
  79. ;
  80. HKLM,"%VOLUMECACHES%\%KEY_COMPRESSCLEANER%",,,"%CLSID_COMPRESSCLEANER%"
  81. HKLM,"%VOLUMECACHES%\%KEY_COMPRESSCLEANER%","Priority",%REGDW%,"0x12c"
  82. ; setup files
  83. HKLM,"%VOLUMECACHES%\Setup Log Files",,,"%CLSID_DATACLEANER%"
  84. HKLM,"%VOLUMECACHES%\Setup Log Files","FileList",,"setup*.log|setup*.old|setuplog.txt|winnt32.log"
  85. HKLM,"%VOLUMECACHES%\Setup Log Files","Folder",%REGEXSZ%,"%WINDIR%"
  86. HKLM,"%VOLUMECACHES%\Setup Log Files","LastAccess",%REGDW%,"30"
  87. HKLM,"%VOLUMECACHES%\Setup Log Files","Display",,"%DISPLAY_SETUP%"
  88. HKLM,"%VOLUMECACHES%\Setup Log Files","Description",,"%DESC_SETUP%"
  89. HKLM,"%VOLUMECACHES%\Setup Log Files","Flags",%REGDW%,"0x20"
  90. ; memory dump files (memory.dmp)
  91. HKLM,"%VOLUMECACHES%\Memory Dump Files",,,"%CLSID_DATACLEANER%"
  92. HKLM,"%VOLUMECACHES%\Memory Dump Files","FileList",,"*.dmp"
  93. HKLM,"%VOLUMECACHES%\Memory Dump Files","Folder",%REGEXSZ%,"%WINDIR%"
  94. HKLM,"%VOLUMECACHES%\Memory Dump Files","LastAccess",%REGDW%,"30"
  95. HKLM,"%VOLUMECACHES%\Memory Dump Files","Display",,"%DISPLAY_DUMPFILES%"
  96. HKLM,"%VOLUMECACHES%\Memory Dump Files","Description",,"%DESC_SETUP%"
  97. HKLM,"%VOLUMECACHES%\Memory Dump Files","Flags",%REGDW%,"0x20"
  98. [Strings]
  99. ; These lines compress the file:
  100. VOLUMECACHES = "Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches"
  101. ; (REG_EXPAND_SZ << 16)
  102. REGEXSZ=0x00020000
  103. ; (REG_DWORD << 16)
  104. REGDW=0x00010001
  105. REGMULSZ=0x00010000
  106. CLSID_DATACLEANER = "{C0E13E61-0CC6-11d1-BBB6-0060978B2AE6}"
  107. CLSID_INDEXCLEANER = "{A9B48EAC-3ED8-11d2-8216-00C04FB687DA}"
  108. CLSID_COMPRESSCLEANER = "{B50F5260-0C21-11D2-AB56-00A0C9082678}"
  109. CLSID_OLDFILESPROPBAG = "{60F6E464-4DEF-11d2-B2D9-00C04F8EEC8C}"
  110. CLSID_TEMPFILESPROPBAG = "{60F6E465-4DEF-11d2-B2D9-00C04F8EEC8C}"
  111. CLSID_SETUPFILESPROPBAG = "{60F6E466-4DEF-11d2-B2D9-00C04F8EEC8C}"
  112. CLSID_UNNSTALLPROPBAG = "{60F6E467-4DEF-11d2-B2D9-00C04F8EEC8C}"
  113. CLSID_INDEXCLEANERPROPBAG = "{24400D16-5754-11d2-8218-00C04FB687DA}"
  114. CLSID_SETUPFILES = "{92540f67-28d1-436b-9f49-5faf365ab718}"
  115. KEY_TEMPFILES = "Temporary Files"
  116. KEY_OLDFILES = "Old Files In Root"
  117. KEY_SETUPFILES = "Temporary Setup Files"
  118. KEY_UNINSTALL = "Uninstall information"
  119. KEY_CHKDSK = "Old ChkDsk Files"
  120. KEY_INDEXCLEANER = "Content Indexer Cleaner"
  121. KEY_COMPRESSCLEANER = "Compress old files"
  122. DISPLAY_SETUP = "Setup Log Files"
  123. DISPLAY_DUMPFILES = "Debug Dump Files"
  124. DESC_SETUP = "Files created by Windows"