'This program is normally started by Windows' while running uninstaller for Python extensions?

4

3

I installed several Python extensions, and now I tried to uninstall them. I simply went to C:\Python26, and then clicked the uninstall executable, e.g. Removeelementtree.exe. However, I got a runtime error dialog, saying "This program is normally started by Windows".

Can anyone help me?

zyq524

Posted 2010-01-18T15:26:48.483

Reputation:

1All of the python extensions I've installed put an entry in the "Add or Remove Programs" control panel of the form "Python 2.5 numpy" or something similar and can be removed via that panel without completely removing Python. – Mokubai – 2010-05-21T17:23:46.123

3use standard windows Add or Remove Programmes. – SilentGhost – 2010-01-18T15:28:15.813

3Uninstall Python? Why would you do such a thing?! – Phoshi – 2010-01-18T15:39:15.907

Listen to SilentGhost and give the normal Add or Remove a shot, since I can't find any hits on your error dialog – Ivo Flipse – 2010-01-18T15:53:02.600

Plus what Windows version are you using? – Ivo Flipse – 2010-01-18T15:54:36.793

1Besides, if you want to take ownership of your question back, create an account on this site, and associate it with the StackOverflow account, in user options. – Gnoupi – 2010-01-18T15:55:39.567

Answers

3

You have to feed the installation log file to Removeelementtree.exe, for your case it should be:

Removeelementtree.exe -u "C:\Python27\elementtree-wininst.log"

The complete uninstall command is mentioned in the log, the file is having this pattern: [distribution]-wininst.log and located under your Python directory.

user8228

Posted 2010-01-18T15:26:48.483

Reputation:

thank you for this command line! I've been testing a python distutils created installer and have gotten very tired of having to click through 'add or remove programs' for uninstalling every 10 minutes. The other popular command line on the net for uninstalling, wmic product where name="%myproductname%" call uninstall, is waaay too slow. :) – matt wilkie – 2013-06-01T04:22:57.573

0

If Add/remove programs does not work, try Revo uninstaller.

RJFalconer

Posted 2010-01-18T15:26:48.483

Reputation: 9 791

-2

start -> all program -> accessories -> system tools -> system restore -> choose a date prior to installation of python

Willy

Posted 2010-01-18T15:26:48.483

Reputation: 78

@onnodb - Pretty much so! XD – BloodPhilia – 2010-05-21T15:04:28.130

4Seems like way overkill to remove python extensions. – onnodb – 2010-01-18T19:12:07.823