haluhak149 / pythonxy

Automatically exported from code.google.com/p/pythonxy
0 stars 0 forks source link

Both Context menu items remain after uninstall #686

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
If relevant, please answer to the following questions:
1. What version of Python(x,y) have you installed?
N/a

2. Which components have you installed (Python(x,y) installer:
component page):
    b. Have you selected the "Full" component selection?

3. Have you selected the option "Customize installation directories"?
b. No

5. Where did you install Python(x,y) itself?
a. default path

6. Have you installed Python(x,y):
    b. For "All users"

7. What is your operating system?
d. Windows 8

8. Is the operating system 64 bit?
a. Yes

9. When you installed Python(x,y), were you logged in as :
b. an administrator of the machine

11. Regarding installed software on your machine, how did you clean your
machine before installing Python(x,y)  (multiple answers are possible):

b. you uninstalled any previous Python distribution (including the
official .msi)

What steps will reproduce the problem?
1. In explorer, right-click an item
2. Both "Open Enhanced Console Here" and "Open IPython console here" remain
3. When clicked, error "Application Not Found" is returned

Original issue reported on code.google.com by Chase.Re...@gmail.com on 5 Sep 2013 at 10:01

GoogleCodeExporter commented 9 years ago
This is annoying as hell! I cannot even find the item under regedits 
shellex/ContextMenuHandlers!

Please give us a hand on how to fix this. 

Original comment by pali....@gmail.com on 10 Sep 2013 at 8:35

GoogleCodeExporter commented 9 years ago
This effects my users as well. I used `regedit.exe` with administrator 
privileges to search for "pythonxy" and delete the offending keys (after first 
exporting backups):

[HKEY_CLASSES_ROOT\Directory\Background\shell\cmdcon]
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmdcon\command]
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmdpy]
[HKEY_CLASSES_ROOT\Directory\Background\shell\cmdpy\command]

[HKEY_CLASSES_ROOT\Directory\shell\cmdcon]
[HKEY_CLASSES_ROOT\Directory\shell\cmdcon\command]
[HKEY_CLASSES_ROOT\Directory\shell\cmdpy]
[HKEY_CLASSES_ROOT\Directory\shell\cmdpy\command]

This removed the broken/orphaned context menu links.

This unfortunately is a non-starter for me. I cannot recommend software that 
cannot be removed cleanly to my users.

Original comment by bwanama...@gmail.com on 11 Nov 2013 at 6:57

GoogleCodeExporter commented 9 years ago
thanks for the solution.

Original comment by ahmetser...@gmail.com on 15 Dec 2013 at 2:57

GoogleCodeExporter commented 9 years ago
Removing those keys is part of the XY uninstall. Typically it would be enough 
to install/uninstall to get rid of them - or maybe just a reboot. 

I could not locate any valid reason why on rare cases the keys remained even 
after windows reported them deleted! 

This happens in commercial software as well - just check the registry of any 
Windows installation. 

The source installed code can be found here - 
https://code.google.com/p/pythonxy/source/browse/src/Python(x%2Cy)/_Python(x%2Cy
).nsi?repo=xy-27 .

Feel free to suggest fixes and patches.

Original comment by grizzly.nyo on 16 Dec 2013 at 7:56

GoogleCodeExporter commented 9 years ago
Same happens to me with with

Python(x,y) 2.7.6.0 
on a Win8.1 computer 

today:

Both non-operable menu options "Open Enhanced Console Here" and "Open IPython 
console here" are available after desinstallation.

Sincerely
Rolf

Original comment by rolf.hem...@gmail.com on 15 Mar 2014 at 3:30