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.

Title: silent installation on windows: no drive in registry values
Type: Stage:
Components: Installation Versions: Python 2.3
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: sigmud, theller, tim.peters
Priority: normal Keywords:

Created on 2004-10-01 10:42 by sigmud, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Messages (4)
msg22579 - (view) Author: Matteo Gallivanoni (sigmud) Date: 2004-10-01 10:42
I used to install python 2.2 with the option /s (silent) on 
windows (win 2k server).
Now I migrated to python 2.3 (Python-2.3.4.exe) and it 
seems to me that 
in all the registry values the drive is missing
EG: under


The (Default) values I found is

instead of the one that I have if I performed a non-silent 
(likewise it is 
in the silent python 22 installation)

msg22580 - (view) Author: Thomas Heller (theller) * (Python committer) Date: 2004-10-01 12:00
Logged In: YES 

IIRC, this change was made for good reasons by Tim.  Maybe
he still knows the details?
msg22581 - (view) Author: Tim Peters (tim.peters) * (Python committer) Date: 2004-10-01 17:27
Logged In: YES 

The Wise system variable MAINDIR had "C:" hardcoded before 
revision 1.123 of python20.wse.  Rev 1.123 removed the "C:", 
because Wise uses the value of MAINDIR to suggest the 
default install directory in a GUI install, and at least two users 
complained that they wanted the default to be their system 
drive, for which whatever reasons they changed to be 
something other than C -- and they complained endlessly 
<wink> about how hard it was to select the drive they 
wanted instead from the dropdown list.

Since I couldn't find a way to get Wise to tell us what "the 
system drive" is (Wise appeared to assume it *must* be C), 
and since they said that removing the hardcoded "C:" from 
MAINDIR caused the GUI install to do what they wanted, it 
was removed.

It would be foolish to put it back.  So unless someone who 
has a better understanding of Wise can figure out how to get 
it to reveal the system drive, and cares enough to take over 
Python's Wise installer, it won't change.

Perhaps some form of the installer's /d switch would allow 
setting MAINDIR during a silent install (I don't know):
msg22582 - (view) Author: Thomas Heller (theller) * (Python committer) Date: 2004-10-01 17:36
Logged In: YES 

Closing as won't fix.
Date User Action Args
2022-04-11 14:56:07adminsetgithub: 40970
2004-10-01 10:42:22sigmudcreate