Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

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?

like image 713
Eddie Avatar asked Oct 29 '14 11:10

Eddie


2 Answers

Just had this problem and solved it by hitting repair first then uninstall.

like image 196
Siebz Avatar answered Sep 24 '22 09:09

Siebz


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.

like image 42
Tritium21 Avatar answered Sep 22 '22 09:09

Tritium21