|
9 | 9 | For an official release, the installer should be built with the |
10 | 10 | Tools/msi/buildrelease.bat script and environment variables: |
11 | 11 |
|
12 | | - set PYTHON=<path to Python 3.8 or later> |
| 12 | + set PYTHON=<path to Python 3.10 or later> |
13 | 13 | set SPHINXBUILD=<path to sphinx-build.exe> |
14 | 14 | set PATH=<path to Git (git.exe)>;%PATH% |
15 | 15 |
|
@@ -66,19 +66,13 @@ Tools\msi\get_externals.bat. (Note that this is in addition to the |
66 | 66 | similarly named file in PCbuild.) |
67 | 67 |
|
68 | 68 | One of the dependencies used in builds is WiX, a toolset that lets developers |
69 | | -create installers for Windows Installer, the Windows installation engine. WiX |
70 | | -has a dependency on the Microsoft .NET Framework Version 3.5 (which may not be |
71 | | -configured on recent versions of Windows, such as Windows 10). If you are |
72 | | -building on a recent Windows version, use the Control Panel (Programs | Programs |
73 | | -and Features | Turn Windows Features on or off) and ensure that the entry |
74 | | -".NET Framework 3.5 (includes .NET 2.0 and 3.0)" is enabled. |
75 | | - |
76 | | -For Python 3.11.x and above, enable "Microsoft .NET Framework 4.8 Advanced Services" |
77 | | -instead of "Microsoft .NET Framework Version 3.5" available for Windows 10 and above. |
78 | | -Also make sure "MSVC v143 - VS 2022 C++ ARM64 build tools" are selected under |
79 | | -"Desktop Development with C++" in "Visual Studio installer" even if you are not |
80 | | -building on ARM64 along with other x64 related v143 build tools. This is because for |
81 | | -3.11.x and above we have upgraded to Wix-3.14. |
| 69 | +create installers for Windows Installer, the Windows installation engine. |
| 70 | + |
| 71 | +Additionally, make sure "MSVC v14x - VS 20xx C++ ARM64 build tools" are |
| 72 | +selected under "Desktop Development with C++" in "Visual Studio installer", |
| 73 | +even if you are not building on ARM64. This is required because we have |
| 74 | +upgraded to WiX-3.14, which requires these tools for Python 3.11 and later |
| 75 | +versions. |
82 | 76 |
|
83 | 77 | For testing, the installer should be built with the Tools/msi/build.bat |
84 | 78 | script: |
@@ -107,7 +101,7 @@ be available alongside. This takes longer, but is easier to share. |
107 | 101 | For an official release, the installer should be built with the |
108 | 102 | Tools/msi/buildrelease.bat script: |
109 | 103 |
|
110 | | - set PYTHON=<path to Python 2.7 or 3.4> |
| 104 | + set PYTHON=<path to Python 3.10 or later> |
111 | 105 | set SPHINXBUILD=<path to sphinx-build.exe> |
112 | 106 | set PATH=<path to Git (git.exe)>;%PATH% |
113 | 107 |
|
|
0 commit comments