Skip to content

fix(windows): give the MSI a numeric version override - #9

Merged
USCMig merged 1 commit into
mainfrom
fix/msi-installer-version
Aug 16, 2026
Merged

fix(windows): give the MSI a numeric version override#9
USCMig merged 1 commit into
mainfrom
fix/msi-installer-version

Conversation

@USCMig

@USCMig USCMig commented Aug 16, 2026

Copy link
Copy Markdown
Owner

The WiX/MSI target rejects a semver pre-release: "optional pre-release identifier in app version must be numeric-only … for msi target", so 0.2.0-rc.1 fails to bundle (NSIS and every other target are fine).

Set bundle.windows.wix.version = "0.2.0.1" (WixConfig.version, format major.minor.patch.build) so the MSI gets a valid numeric version while the app version stays 0.2.0-rc.1 everywhere else. rc.N maps to the build field (rc.1 -> .1); MSI ignores that 4th field for upgrade detection, so it's just a label.

The WiX/MSI target rejects a semver pre-release: "optional pre-release identifier
in app version must be numeric-only … for msi target", so `0.2.0-rc.1` fails to
bundle (NSIS and every other target are fine).

Set bundle.windows.wix.version = "0.2.0.1" (WixConfig.version, format
major.minor.patch.build) so the MSI gets a valid numeric version while the app
version stays 0.2.0-rc.1 everywhere else. rc.N maps to the build field
(rc.1 -> .1); MSI ignores that 4th field for upgrade detection, so it's just a
label.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
@USCMig
USCMig merged commit 78e3b1b into main Aug 16, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant