Problem
Craft emits a WiX package without platform metadata and uses ProgramFilesFolder. A 64-bit Bun executable is therefore described as a 32-bit MSI and installs under the 32-bit program-files root, while the native lifecycle correctly looks for it in the 64-bit program-files root.
Observed after the executable-name fix in stacksjs/stacks PR #2064, Windows job 88824618532.
Required contract
- Make the Windows package architecture explicit.
- Emit matching WiX Package platform, program-files directory, and component bitness metadata.
- Default native x64 and arm64 hosts to a 64-bit package; require an explicit 32-bit choice for x86 output.
- Keep deterministic source tests for both x64 and x86 layouts.
- Pass install, launch, update, rollback, uninstall, and attestation on Windows Server 2025.
Related: #12 and stacksjs/stacks#2063.