[ python-Bugs-1239148 ] Win registry problem

SourceForge.net noreply at sourceforge.net
Fri Jul 15 23:02:36 CEST 2005


Bugs item #1239148, was opened at 2005-07-15 17:01
Message generated for change (Settings changed) made by bsherwood
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1239148&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Installation
Group: Python 2.4
Status: Open
>Resolution: Duplicate
Priority: 5
Submitted By: Bruce Sherwood (bsherwood)
Assigned to: Nobody/Anonymous (nobody)
Summary: Win registry problem

Initial Comment:
Debbie Carraway in IT at NCSU gives this analysis of an
apparent bug in the Python 2.4 installer for Windows.
She discovered this in the context of using the
installer for VPython, which looks for Python 2.4 in

  HKLM\Software\Python\PythonCore\2.4\InstallPath

which used to work with Python 2.3. Here is her report:

The problem is with the Python 2.4.1 installer. Python will
put the InstallPath registry setting (which indicates where
Python is installed)  under HKEY_CURRENT_USER instead of
HKEY_LOCAL_MACHINE under some circumstances:
 (1) if you are not a member of the Administrators group
 (2) if you choose "Install for Just Me" rather than
"Install for All Users",
 (3) if you automate the Python install using "msiexec.exe
/i python-2.4.1.msi /q". The /q (quiet) switch causes
different behavior than the defaults with a manual install
("msiexec.exe /i python-2.4.1.msi").

This is a mistake in the Python installer. The path to an
installed application always belongs under HKLM,
because the
path to installed software is a machine-specific
setting. If
the path is in HKCU, the InstallPath setting can follow a
user to a machine where Python is not installed.

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1239148&group_id=5470


More information about the Python-bugs-list mailing list