Skip to content

Add Windows MSI installer with CPack WiX generator - #7

Merged
tlamy merged 2 commits into
mainfrom
windows-msi
Mar 1, 2026
Merged

Add Windows MSI installer with CPack WiX generator#7
tlamy merged 2 commits into
mainfrom
windows-msi

Conversation

@tlamy

@tlamy tlamy commented Mar 1, 2026

Copy link
Copy Markdown
Owner

Summary

This pull request adds Windows MSI installer support using CPack with the WiX generator. Key updates include:

  • Configures the CPACK_GENERATOR to use WiX on Windows and DEB on Linux.
  • Adds required WiX settings: CPACK_WIX_UPGRADE_GUID, product icon, and information URL.
  • Updates installation rules for Windows to place the executable in the root directory and bundle runtime DLLs.
  • Modifies the CI pipelines to:
    • Verify the presence of the WiX Toolset, installing it via Chocolatey (choco) if missing.
    • Generate the MSI installer using cpack -G WIX and upload it as a CI artifact.
  • Includes the MSI installer in the semantic-release GitHub assets.

Checklist

  • Tests for new functionality have been added.
  • Documentation has been updated as needed.
  • The pull request follows coding and style guidelines.

Related Issues/Commits

  • Implementation of the MSI installer to enhance distribution on the Windows platform.

   - Set CPACK_GENERATOR to WIX on Windows, DEB on Linux
   - Add CPACK_WIX_UPGRADE_GUID, product icon, and info URL
   - Update Windows install rules: exe goes to root, runtime DLLs
     are globbed from the build output and bundled alongside it
   - CI: check for WiX Toolset (install via choco if absent), run
     cpack -G WIX after build, upload MSI as a separate artifact
   - Add MSI to semantic-release GitHub assets
@tlamy tlamy self-assigned this Mar 1, 2026
- Added ccache to dependencies for Linux, macOS, and Windows builds.
- Configured ccache in `CMakeLists.txt` as the compiler launcher for C/C++.
- Implemented ccache caching in GitHub Actions workflows to enhance CI efficiency.
@tlamy
tlamy merged commit d21f110 into main Mar 1, 2026
10 checks passed
@tlamy
tlamy deleted the windows-msi branch March 1, 2026 11:12
@github-actions

github-actions Bot commented Mar 1, 2026

Copy link
Copy Markdown

🎉 This PR is included in version 1.1.1 🎉

The release is available on GitHub release

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant