Developer Guide
Building and Testing the Desktop Application
Existing build and test commands, prerequisites and the limits of recorded results.
Prerequisites
Use the desktop source project on Windows with the documented Python 3.12 build environment, its pinned build requirements and a complete FreeCAD 1.1.4 runtime. These commands are from the existing desktop project; they were inspected for this documentation task, not executed as a new installer build.
Installer unit tests
With that environment activated, run from the desktop source root:
python -m unittest discover -s tests -p 'test_*.py' -vThe validation document records tests for checksums, path traversal/collision rejection, overwrite protection, ownership and preserving modified/user-created files.
Real-engine integration
python launcher.py --profile tests/profile-test --macro tests/integration.FCMacro --wait
python launcher.py --profile tests/profile-sketch-test --macro tests/sketch_features.FCMacro --waitThese macros run inside the CAD runtime. Recorded checks include geometry, constrained sketches, persistence, selected exports and sketch-to-feature task transitions. They are not a complete certification of all native commands or drivers.
Build the local distribution
python tools/build.py --runtime 'C:/Program Files/FreeCAD 1.1'The inspected build script creates the launcher/setup executables, a checksummed payload and a transfer ZIP. A working runtime at the supplied path is a prerequisite. No MSI generation was confirmed. Building locally does not publish a GitHub release or make a package available through the website.
Review the result
The desktop project contains a separate release-verification harness and recorded results. Review validation scope before interpreting a passing run. Production release controls and distribution credentials are separate administrative concerns.