Components

Generally, most (third-party) uninstallers contain the following components:

  • Logger: The Logger is used to log installations (e.g., log which files were added or changed, which registry entries were added or changed, etc. at the time of installation). This log is used when the user decides to uninstall the logged installation at later date (in that case, the log is "reversed" -- i.e., the log is read, but opposite actions are taken in reverse order),
  • Uninstaller The Uninstaller is used to reverse changes in the log. This way, the applications can be uninstalled because all changes that were made at the times of installation are reversed.
  • Analyzer (optional) The Analyzer is used to uninstall programs of which installation is not logged by the uninstaller. In that case, the program analyzes the program and finds (and deletes, if the user decided to uninstall the program) all related files and registry entries,
  • Watcher (optional) The Watcher watches running programs for installation programs (and usually offers to start the logger when such programs are detected). Usually, this works by watching the tasklist for any names that are usually used by installation programs (e.g., SETUP.EXE, INSTALL.EXE, etc.)
  • Other tools (optional) Some uninstallers may also contains other related tools like a junk file cleaner, browser history cleaner, cache cleaner, etc. These tools are not mandatory for uninstallers and are added mainly to improve the merchantability (since pure uninstallers are unpopular today).

0 comments: