This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Unattended Install doesn't populate registry
Type: behavior Stage:
Components: Installation, Windows Versions: Python 2.7
process
Status: closed Resolution:
Dependencies: Superseder:
Assigned To: Nosy List: Joe.Eaves, Paul.Klapperich, brian.curtin, loewis
Priority: normal Keywords:

Created on 2012-03-30 23:42 by Paul.Klapperich, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg157161 - (view) Author: Paul Klapperich (Paul.Klapperich) Date: 2012-03-30 23:42
Steps to reproduce:

1. python-2.7.2.msi /qb
2. Check registry for HKLM\SOFTWARE\Python or HKLM\SOFTWARE\Wow6432Node\Python

Expected behavior:
The key will exist and contain a key for 2.7 providing information such as the installation path.

Observed behavior:
The key and its subkeys are not created at all.

Workaround:
Don't use the /passive, /quiet, or /qX options. 

Additional information:
* Running msiexec /fm python-2.7.2.msi does not insert the missing registry entries.
* Running python-2.7.2.msi without options after install and choosing repair /also/ fails to insert the missing registry entries.
* Aside from inserting the entries by hand, uninstalling and re-installing with the interactive GUI seems to be the only way to populate them.

I've tested this on 64bit Windows 7 with 32bit Python 2.7.2 msi package only.
msg160334 - (view) Author: Joe Eaves (Joe.Eaves) Date: 2012-05-10 11:28
There is an old bug report against 2.5 which dealt with a very similar problem, maybe the answers are the same?

http://bugs.python.org/issue4567

Basically the location in the registry has changed from HKLM to HKCU. Here is the last message in the thread directly:

http://bugs.python.org/msg78058
msg160336 - (view) Author: Martin v. Löwis (loewis) * (Python committer) Date: 2012-05-10 12:01
Joe: this is indeed likely the explanation.

Paul: can you confirm?
Also: try adding "ALLUSERS=1" to the msiexec command line.
History
Date User Action Args
2022-04-11 14:57:28adminsetgithub: 58662
2014-06-21 20:36:07loewissetstatus: open -> closed
2012-05-10 12:01:58loewissetmessages: + msg160336
2012-05-10 11:28:52Joe.Eavessetnosy: + Joe.Eaves
messages: + msg160334
2012-03-31 04:22:09ned.deilysetnosy: + loewis, brian.curtin
2012-03-30 23:42:46Paul.Klapperichsettype: behavior
2012-03-30 23:42:25Paul.Klapperichcreate