From 0050670d76193ea529f51d0526256cb7a769d61b Mon Sep 17 00:00:00 2001 From: Ashish Shirodkar Date: Tue, 10 Oct 2023 02:45:19 +0530 Subject: gh-106765: Updates Windows installer build instructions to clarify system requirements (GH-110566) --- README.rst | 3 +++ Tools/msi/README.txt | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/README.rst b/README.rst index 921da30..9cbadc8 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 8c6ec51..c25ada8 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: -- cgit v0.12