From: Ashish Shirodkar Date: Mon, 9 Oct 2023 21:15:19 +0000 (+0530) Subject: gh-106765: Updates Windows installer build instructions to clarify system requirement... X-Git-Tag: v3.13.0a1~78 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=0050670d76193ea529f51d0526256cb7a769d61b;p=thirdparty%2FPython%2Fcpython.git gh-106765: Updates Windows installer build instructions to clarify system requirements (GH-110566) --- diff --git a/README.rst b/README.rst index 921da30a9201..9cbadc8a5725 100644 --- a/README.rst +++ b/README.rst @@ -76,6 +76,9 @@ to macOS framework and universal builds. Refer to `Mac/README.rst On Windows, see `PCbuild/readme.txt `_. +To build Windows installer, see `Tools/msi/README.txt +`_. + If you wish, you can create a subdirectory and invoke configure from there. For example:: diff --git a/Tools/msi/README.txt b/Tools/msi/README.txt index 8c6ec516f18e..c25ada8397cd 100644 --- a/Tools/msi/README.txt +++ b/Tools/msi/README.txt @@ -73,6 +73,13 @@ building on a recent Windows version, use the Control Panel (Programs | Programs and Features | Turn Windows Features on or off) and ensure that the entry ".NET Framework 3.5 (includes .NET 2.0 and 3.0)" is enabled. +For Python 3.11.x and above, enable "Microsoft .NET Framework 4.8 Advanced Services" +instead of "Microsoft .NET Framework Version 3.5" available for Windows 10 and above. +Also make sure "MSVC v143 - VS 2022 C++ ARM64 build tools" are selected under +"Desktop Development with C++" in "Visual Studio installer" even if you are not +building on ARM64 along with other x64 related v143 build tools. This is because for +3.11.x and above we have upgraded to Wix-3.14. + For testing, the installer should be built with the Tools/msi/build.bat script: