gh-124487: Updated installer messages and internal docs regarding minimum Windows version (GH-124822)

This commit is contained in:
Wulian 2024-10-01 22:44:18 +08:00 committed by GitHub
parent 67e01a430f
commit da1e5526ae
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
3 changed files with 5 additions and 12 deletions

View File

@ -23,8 +23,9 @@ available for application-local distributions.
As specified in :pep:`11`, a Python release only supports a Windows platform
while Microsoft considers the platform under extended support. This means that
Python |version| supports Windows 8.1 and newer. If you require Windows 7
support, please install Python 3.8.
Python |version| supports Windows 10 and newer. If you require Windows 7
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
certain benefits and downsides.

View File

@ -3100,7 +3100,7 @@ private:
} else {
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 {
if (IsWindows10OrGreater()) {
BalLog(BOOTSTRAPPER_LOG_LEVEL_STANDARD, "Target OS is Windows 10 or later");
@ -3116,7 +3116,7 @@ private:
} else {
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);

View File

@ -51,14 +51,6 @@ FILES = [
"test_pdb.msi",
"tools.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 = [
"python-{}.exe".format(m.group(0)),