Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

msi: migrate to WiX4 (WIP) #45456

Closed

Conversation

StefanStojanovic
Copy link
Contributor

Currently, two versions of the WiX Toolset are used to build the MSI installers. WiX v3.11 is used for x86 and x64, and WiX v3.14 is used for ARM64. In addition, using any WiX3 version requires it to be installed on the machine. Also, the WiX team is dropping support for v3 and they are encouraging people to move to v4 which had its preview-1 release on 11th November (3 days ago) and is now in the release candidate phase. It depends on a number of issues that get reported and fixed, but generally, WiX4 is expected to be GA in a few months.

This PR aims to migrate Node's MSI installer to WiX4 in order to unify all installers under a single version and remove all dependencies to WiX3 eg. it can be removed from all CI machines. Since WiX4 is still in preview, some changes that may affect this PR are to be expected as well as some changes to the implementation eg. changing from WiX CLI to MSBuild and .wixproj file, but the main goal now is to try these changes in CI and test installers made that way.

To be able to build x86, x64, and ARM64 MSI installers with the same WiX
version, migration to WiX4 is required. These changes use WiX4 preview 1
which is not an official release, but there should be no major changes
before WiX4 is GA.
@nodejs-github-bot nodejs-github-bot added build Issues and PRs related to build files or the CI. install Issues and PRs related to the installers. needs-ci PRs that need a full CI run. tools Issues and PRs related to the tools directory. windows Issues and PRs related to the Windows platform. labels Nov 14, 2022
@StefanStojanovic
Copy link
Contributor Author

Superseded by #45943.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
build Issues and PRs related to build files or the CI. install Issues and PRs related to the installers. needs-ci PRs that need a full CI run. tools Issues and PRs related to the tools directory. windows Issues and PRs related to the Windows platform.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants