mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
gh-124487: Updated installer messages and internal docs regarding minimum Windows version (GH-124822)
This commit is contained in:
parent
67e01a430f
commit
da1e5526ae
3 changed files with 5 additions and 12 deletions
|
@ -23,8 +23,9 @@ available for application-local distributions.
|
||||||
|
|
||||||
As specified in :pep:`11`, a Python release only supports a Windows platform
|
As specified in :pep:`11`, a Python release only supports a Windows platform
|
||||||
while Microsoft considers the platform under extended support. This means that
|
while Microsoft considers the platform under extended support. This means that
|
||||||
Python |version| supports Windows 8.1 and newer. If you require Windows 7
|
Python |version| supports Windows 10 and newer. If you require Windows 7
|
||||||
support, please install Python 3.8.
|
support, please install Python 3.8. If you require Windows 8.1 support,
|
||||||
|
please install Python 3.12.
|
||||||
|
|
||||||
There are a number of different installers available for Windows, each with
|
There are a number of different installers available for Windows, each with
|
||||||
certain benefits and downsides.
|
certain benefits and downsides.
|
||||||
|
|
|
@ -3100,7 +3100,7 @@ private:
|
||||||
} else {
|
} else {
|
||||||
BalLog(BOOTSTRAPPER_LOG_LEVEL_ERROR, "Detected Windows Server 2003 or earlier");
|
BalLog(BOOTSTRAPPER_LOG_LEVEL_ERROR, "Detected Windows Server 2003 or earlier");
|
||||||
}
|
}
|
||||||
BalLog(BOOTSTRAPPER_LOG_LEVEL_ERROR, "Windows Server 2012 or later is required to continue installation");
|
BalLog(BOOTSTRAPPER_LOG_LEVEL_ERROR, "Windows Server 2016 or later is required to continue installation");
|
||||||
} else {
|
} else {
|
||||||
if (IsWindows10OrGreater()) {
|
if (IsWindows10OrGreater()) {
|
||||||
BalLog(BOOTSTRAPPER_LOG_LEVEL_STANDARD, "Target OS is Windows 10 or later");
|
BalLog(BOOTSTRAPPER_LOG_LEVEL_STANDARD, "Target OS is Windows 10 or later");
|
||||||
|
@ -3116,7 +3116,7 @@ private:
|
||||||
} else {
|
} else {
|
||||||
BalLog(BOOTSTRAPPER_LOG_LEVEL_ERROR, "Detected Windows XP or earlier");
|
BalLog(BOOTSTRAPPER_LOG_LEVEL_ERROR, "Detected Windows XP or earlier");
|
||||||
}
|
}
|
||||||
BalLog(BOOTSTRAPPER_LOG_LEVEL_ERROR, "Windows 8.1 or later is required to continue installation");
|
BalLog(BOOTSTRAPPER_LOG_LEVEL_ERROR, "Windows 10 or later is required to continue installation");
|
||||||
}
|
}
|
||||||
|
|
||||||
LocGetString(_wixLoc, L"#(loc.FailureOldOS)", &pLocString);
|
LocGetString(_wixLoc, L"#(loc.FailureOldOS)", &pLocString);
|
||||||
|
|
|
@ -51,14 +51,6 @@ FILES = [
|
||||||
"test_pdb.msi",
|
"test_pdb.msi",
|
||||||
"tools.msi",
|
"tools.msi",
|
||||||
"ucrt.msi",
|
"ucrt.msi",
|
||||||
"Windows6.0-KB2999226-x64.msu",
|
|
||||||
"Windows6.0-KB2999226-x86.msu",
|
|
||||||
"Windows6.1-KB2999226-x64.msu",
|
|
||||||
"Windows6.1-KB2999226-x86.msu",
|
|
||||||
"Windows8.1-KB2999226-x64.msu",
|
|
||||||
"Windows8.1-KB2999226-x86.msu",
|
|
||||||
"Windows8-RT-KB2999226-x64.msu",
|
|
||||||
"Windows8-RT-KB2999226-x86.msu",
|
|
||||||
]
|
]
|
||||||
PATHS = [
|
PATHS = [
|
||||||
"python-{}.exe".format(m.group(0)),
|
"python-{}.exe".format(m.group(0)),
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue