I have a couple of applications that I am trying to uninstall from Windows 7 and Windows 8.1, using Python automation. Windows command lines will also work.
The programs appear on the Programs and Features list in the control panel. Clicking them and selecting uninstall will uninstall them without issue. Uninstalling manually by clicking through the Programs and Features menu works fine and easily.
The programs were installed using an EXE file rather than an MSI file.
What I have tried so far:
1)
wmic product get name
Using the command 'wmic product get name' shows a list of only some of the programs that are displayed on the 'Programs and Features' page. The programs I wish to uninstall are not listed.
2)
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall
The programs do not appear in the above registry location
3)
"Use pywinauto to open and manipulate the Programs and Features window directly."
The pywinauto module (or anything else that can find and manipulate window and button handles) does work to open and grab the Programs and Features window, but manipulating it fails. In particular, entering text into the search box fails, so the programs to uninstall cannot be selected.
4)
"Use the uninstall msi that came with the program."
There wasn't one.
5)
"Run the installer executable again."
That just updates the software, rather than remove it.