Search code examples
pythonwindows-7uninstallationpython-3.4system-restore

Can't uninstall Python 3.4.2 from Windows 7 after system restore


A couple of days after uninstalling Python 3.4.2 I had to carry out a system restore (I'm using Windows 7) due to accidentally installing a bunch of rubbish-ware that was messing with my computer even after installation. This system restore effectively "reinstalled" Python, or rather a broken version of it. I now can't uninstall it via the usual Control Panel -> Uninstall Programs tool, nor can I reinstall it using the original installer. Unfortunately Windows has not saved an earlier system snapshot that I could restore to.

Both the uninstall and reinstall processes make a fair bit of progress before stopping with a warning error that says: "There is a problem with this Windows Installer package. A program run as part of the setup did not finish as expected. Contact your support personnel or package vendor"

Does anyone have any suggestions on how I might succeed in this uninstallation?


Solution

  • Just delete the c:\Python3.4\ directory, Reinstall python 3.4 (any sub version, just has to be 3.4), and uninstall that.

    Python is, for the most part, totally self-contained in the Python3.4 directory. Reinstalling python is only needed so you can get a fresh uninstaller to remove the registry keys installation creates.