Leaked source code of windows server 2003
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.

33 lines
1.4 KiB

  1. [Version]
  2. Signature="$CHICAGO$"
  3. [RegDll]
  4. AddReg=OsUninstallCleaner
  5. RequiredEngine=SETUPAPI,%ERR_NOSETUPAPI%
  6. [OsUninstallCleaner]
  7. HKCR,"CLSID\%CLSID_UNINSTALLCLEANER%",,2,"%DESC_UNINSTALLCLEANER%"
  8. HKCR,"CLSID\%CLSID_UNINSTALLCLEANER%\%INPROC%",,%REGEXSZ%,"%11%\osuninst.DLL"
  9. HKCR,"CLSID\%CLSID_UNINSTALLCLEANER%\%INPROC%","ThreadingModel",2,"Apartment"
  10. HKCR,"CLSID\%CLSID_UNINSTALLCLEANER%\%DEFICON%",,%REGEXSZ%,"%11%\osuninst.EXE,0"
  11. HKLM,"%ADV_CLEANERS%\%KEY_UNINSTALL%",,2,"%CLSID_UNINSTALLCLEANER%"
  12. HKLM,"%ADV_CLEANERS%\%KEY_UNINSTALL%","Description",2,"%UI_DETAILS%"
  13. HKLM,"%ADV_CLEANERS%\%KEY_UNINSTALL%","Display",2,"%UI_DESC%"
  14. HKLM,"%ADV_CLEANERS%\%KEY_UNINSTALL%","IconPath",%REGEXSZ%,"%11%\osuninst.EXE,0"
  15. [Strings]
  16. ADV_CLEANERS = "Software\Microsoft\Windows\CurrentVersion\Explorer\VolumeCaches"
  17. REGEXSZ = 0x00020000
  18. INPROC = "InProcServer32"
  19. DEFICON = "DefaultIcon"
  20. CLSID_UNINSTALLCLEANER = "{67cf8cbd-e5c0-44f7-9de5-e1d599d626d8}"
  21. KEY_UNINSTALL = "Uninstall Backup Image"
  22. DESC_UNINSTALLCLEANER = "OS Uninstall Disk Cleaner"
  23. DESC_UNINSTALLPROPBAG = "Uninstall Prop Bag"
  24. UI_DESC = "Backup Files for Previous Operating System"
  25. UI_DETAILS = "These files are needed if you want to uninstall this version of Windows and return back to your previous operating system."
  26. ERR_NOSETUPAPI = "Can not register OSUNINST.DLL because SETUPAPI.DLL is missing."