Building MS Windows Binaries

August 8, 2026 ยท View on GitHub

* install [MSYS2](https://www.msys2.org/) and update the system: run `pacman -Syu` until all the updates are applied * from a MinGW shell, run this setup script: [SETUP.sh](https://github.com/Xpra-org/xpra/tree/master/packaging/MSWindows/SETUP.sh) * install [TortoiseSVN](https://tortoisesvn.net/) to support [SSH](../Network/SSH.md) via PuTTY plink - if the default backend is not sufficient * to build [NVENC](../Usage/NVENC.md) or NVFBC support, install [CUDA](https://developer.nvidia.com/cuda-downloads) and [visualstudio](https://visualstudio.microsoft.com/) or [visualstudio express](https://visualstudio.microsoft.com/vs/express/)

To be able to generate EXE packages, install verpatch and InnoSetup.

From the source directory, just run the build script [BUILD.py](https://github.com/Xpra-org/xpra/tree/master/packaging/MSWindows/BUILD.py)