Question:
How to create an Uninstaller?
?
2012-12-21 06:48:07 UTC
Guys I would like to know how can I create an uninstaller. I've already know how to create an installer, but not uninstaller... Can anyone help me? (And if you're asking me what am I going to do with it, it doesn't help me with it) Thanks.
Three answers:
?
2012-12-21 06:54:48 UTC
Uninstaller









Berkeley Open Infrastructure for Network Computing uninstaller icon.



An uninstaller, also called a deinstaller, is a utility software designed to remove other software or parts of it from a computer. It is the opposite of an installer.





HideComponents





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

■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 contain 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
Andrey
2012-12-23 06:00:19 UTC
This is what a installer typically does: it unpacks files and puts them into place, putting the location of each file and folder it creates into a .log or .txt file, each line containing one location. I'm not sure how to do it with notepad, but an uninstaller usually takes each line in the log file and deletes the file there.
AreUfraidOfTheFackingDark?
2012-12-21 16:03:17 UTC
you want to create it using notepad? you mean using batch files? why not just delete the file you've just installed :/


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...