Trigger the uninstaller of an application by it's name if it exists

Recommended Posts

leomoon 1

leomoon 1

Hi, I'm new to autoit and I started making an application to do automated cleanup and tweak. I made pretty much everything except I want to know is it possible to trigger the uninstaller of a installed application by calling it's name if it exists? For example if I want to uninstall FireFox, I want to be able to just call it's name (Firefox) and the program will check if it exists, it will trigger it's uninstaller.

Share this post

Link to post

Share on other sites

evilertoaster 3

evilertoaster 3

I don't know if there's a UDF that would make it easier, but you can find a list of installed software, the display name for it, and the path to its uninstall executable in the windows registry at the following location: HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Uninstall