classification
Title: python 3.5.1 uses wrong registry in system-wide installation
Type: behavior Stage: resolved
Components: Installation Versions: Python 3.5
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Windows AllUsers installation places uninstaller in user profile
View: 25166
Assigned To: Nosy List: mray
Priority: normal Keywords:

Created on 2016-02-22 22:00 by mray, last changed 2016-02-22 22:08 by eryksun. This issue is now closed.

Messages (1)
msg260700 - (view) Author: Mike (mray) Date: 2016-02-22 22:00
The installer for python 3.5.1 (observed with the x64-86 executable installer, assumed to happen with all installers) allows users to install python either just for themselves or do a system-wide installation (provided they have sufficient privileges).

However, when selecting a system-wide installation, the uninstall information is registered to a key under HKEY_CURRENT_USER.

The result of this is that any user can run python 3.5.1; however, the entry in the "uninstall programs" list shows only for the original user that installed it.

This is in contrast to previous versions of python (e.g. 3.4.4) where any user could uninstall it (provided they have sufficient privileges). It is also in contrast to pylauncher of the same version (i.e. 3.5.1) which properly registers itself under HKEY_LOCAL_MACHINE when selected to be installed for all users.

The key in question is at this path:
HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Uninstall\{b8440650-9dbe-4b7d-8167-6e0e3dcdf5d0}

I believe it should be here:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{b8440650-9dbe-4b7d-8167-6e0e3dcdf5d0}
History
Date User Action Args
2016-02-22 22:08:10eryksunsetstatus: open -> closed
superseder: Windows AllUsers installation places uninstaller in user profile
resolution: duplicate
stage: resolved
2016-02-22 22:00:20mraycreate