Skip to content

Building release on Windows

Sam Gross edited this page Jul 26, 2022 · 3 revisions
  • Install Visual Studio (2019 or 2022)
  • Install components: MSVC v142 (for Python) and MSVC v140 (for WiX?)
  • The installer needs .NET Framework Version 3.5
(which may not be configured on recent versions of Windows, such as Windows 10). If you are
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.
  • Create a fake NEWS entry in Misc (blub fails because README doesn't match the expected regex)
echo "NEWS" > Misc/NEWS
  • Build installer
cd Tools/MSI
./buildnogil.bat -x64

Installer is in:

PCBuild/amd64/en-us/python-XXX-amd64.exe