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.
Created on 2008年12月06日 18:14 by stuaxo, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Messages (6) | |||
|---|---|---|---|
| msg77155 - (view) | Author: Stuart Axon (stuaxo) | Date: 2008年12月06日 18:14 | |
If the msi is installed with /quiet it installs to the default location, but the registry key is not set, making it harder for other programs to find the installation. - in my case I had to make a batch file that installed it, then read the log file to find this information, which is less than ideal. |
|||
| msg77188 - (view) | Author: Martin v. Löwis (loewis) * (Python committer) | Date: 2008年12月06日 23:24 | |
Can you please be more explicit? What exact command line have you been using, and what exact registry do you think should have been set but wasn't? |
|||
| msg77190 - (view) | Author: Stuart Axon (stuaxo) | Date: 2008年12月06日 23:40 | |
Sure, no problem - sorry for the lack of detail... The windows installer (tested on 2.5.2) normally puts some values in the windows registry at: HKEY_LOCAL_MACHINE\SOFTWARE\Python\PythonCore\<version> (where <version> is the python version). Including the important one for me: InstallPath. The bug is in the installer msi, and will need to be fixed in whatever generates it, ideally the installpath should always be set. In order to install python silently, run msiexec python-2.5.2.msi /quiet This will install python to the default path (c:\python) and the registry values won't be set. I believe their probably set in the interactive part of the installation. 2008年12月6日 Martin v. Löwis <report@bugs.python.org>: > > Martin v. Löwis <martin@v.loewis.de> added the comment: > > Can you please be more explicit? What exact command line have you been > using, and what exact registry do you think should have been set but wasn't? > > ---------- > nosy: +loewis > > _______________________________________ > Python tracker <report@bugs.python.org> > <http://bugs.python.org/issue4567> > _______________________________________ > |
|||
| msg77193 - (view) | Author: Martin v. Löwis (loewis) * (Python committer) | Date: 2008年12月06日 23:52 | |
> In order to install python silently, run > > msiexec python-2.5.2.msi /quiet I'm puzzled. According to all msiexec documentation I could find, there is no /quiet option to msiexec (plus you also need to specify /i, according to the docs). I'll have to find out what this does first. |
|||
| msg77194 - (view) | Author: Stuart Axon (stuaxo) | Date: 2008年12月06日 23:56 | |
If you type msiexec /? it pops a window with this text in it: Windows (R) Installer. V 3.01.4001.5512 msiexec /Option <Required Parameter> [Optional Parameter] Install Options </package | /i> <Product.msi> Installs or configures a product /a <Product.msi> Administrative install - Installs a product on the network /j<u|m> <Product.msi> [/t <Transform List>] [/g <Language ID>] Advertises a product - m to all users, u to current user </uninstall | /x> <Product.msi | ProductCode> Uninstalls the product Display Options /quiet Quiet mode, no user interaction /passive Unattended mode - progress bar only /q[n|b|r|f] Sets user interface level n - No UI b - Basic UI r - Reduced UI f - Full UI (default) /help Help information Restart Options /norestart Do not restart after the installation is complete /promptrestart Prompts the user for restart if necessary /forcerestart Always restart the computer after installation Logging Options /l[i|w|e|a|r|u|c|m|o|p|v|x|+|!|*] <LogFile> i - Status messages w - Nonfatal warnings e - All error messages a - Start up of actions r - Action-specific records u - User requests c - Initial UI parameters m - Out-of-memory or fatal exit information o - Out-of-disk-space messages p - Terminal properties v - Verbose output x - Extra debugging information + - Append to existing log file ! - Flush each line to the log * - Log all information, except for v and x options /log <LogFile> Equivalent of /l* <LogFile> Update Options /update <Update1.msp>[;Update2.msp] Applies update(s) /uninstall <PatchCodeGuid>[;Update2.msp] /package <Product.msi | ProductCode> Remove update(s) for a product Repair Options /f[p|e|c|m|s|o|d|a|u|v] <Product.msi | ProductCode> Repairs a product p - only if file is missing o - if file is missing or an older version is installed (default) e - if file is missing or an equal or older version is installed d - if file is missing or a different version is installed c - if file is missing or checksum does not match the calculated value a - forces all files to be reinstalled u - all required user-specific registry entries (default) m - all required computer-specific registry entries (default) s - all existing shortcuts (default) v - runs from source and recaches local package Setting Public Properties [PROPERTY=PropertyValue] Consult the Windows (R) Installer SDK for additional documentation on the command line syntax. Copyright (c) Microsoft Corporation. All rights reserved. Portions of this software are based in part on the work of the Independent JPEG Group. 2008年12月6日 Martin v. Löwis <report@bugs.python.org>: > > Martin v. Löwis <martin@v.loewis.de> added the comment: > >> In order to install python silently, run >> >> msiexec python-2.5.2.msi /quiet > > I'm puzzled. According to all msiexec documentation I could find, > there is no /quiet option to msiexec (plus you also need to specify > /i, according to the docs). I'll have to find out what this does > first. > > _______________________________________ > Python tracker <report@bugs.python.org> > <http://bugs.python.org/issue4567> > _______________________________________ > |
|||
| msg78058 - (view) | Author: Martin v. Löwis (loewis) * (Python committer) | Date: 2008年12月19日 14:53 | |
This is not a bug. The registry keys do get set, though not in HKEY_LOCAL_MACHINE, but in HKEY_CURRENT_USER. To install quietly for all users, you need to add ALLUSERS=1; see http://www.python.org/download/releases/2.5/msi/ |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:42 | admin | set | github: 48817 |
| 2008年12月19日 14:53:51 | loewis | set | status: open -> closed resolution: works for me messages: + msg78058 |
| 2008年12月10日 08:59:33 | loewis | set | priority: release blocker |
| 2008年12月06日 23:56:54 | stuaxo | set | messages: + msg77194 |
| 2008年12月06日 23:52:12 | loewis | set | messages: + msg77193 |
| 2008年12月06日 23:40:18 | stuaxo | set | messages: + msg77190 |
| 2008年12月06日 23:24:57 | loewis | set | nosy:
+ loewis messages: + msg77188 |
| 2008年12月06日 18:14:05 | stuaxo | create | |