packaging: allow wix (msi) to do same-version upgrades (#2304)

Make it so the wix config (MSI installer) allows same-version upgrades.

Pulled from #2302, kudos to @meop for the recommendation.
This commit is contained in:
Clement Tsang authored and GitHub committed 2026-11-04 11:12:38 +08:00
1 parent f3ae0b05b4
commit cc6facab16
3 files changed
+7 -1

No files matched your search

+5
View File
@@ -33,6 +33,11 @@ That said, these are more guidelines rather than hard rules, though the project
- [#2300](https://github.com/ClementTsang/bottom/pull/2300): Fix dialog screens not blocking certain user events.
- [#2298](https://github.com/ClementTsang/bottom/pull/2298): Fix hidden table columns shifting the widths of later columns and header clicks.
### Other
- [#2302](https://github.com/ClementTsang/bottom/pull/2302): Make the `aarch64-pc-windows-gnullvm` target statically linked.
- [#2304](https://github.com/ClementTsang/bottom/pull/2304): Enable same-version upgrades for the Windows MSI installer.
## 0.15.0 - 2026-10-31 🎃
### Features
+1 -1
View File
@@ -1,7 +1,7 @@
$ErrorActionPreference = 'Stop'
$msys2 = 'C:\msys64'
$package = 'mingw-w64-clang-aarch64-clang=23.1.4-1'
$package = 'mingw-w64-clang-aarch64-clang'
& "$msys2\usr\bin\bash.exe" -lc 'pacman --noconfirm -Sy'
if ($LASTEXITCODE -ne 0) {
throw 'Failed to synchronize the MSYS2 package databases'
+1
View File
@@ -55,6 +55,7 @@
<MajorUpgrade
Schedule='afterInstallInitialize'
AllowSameVersionUpgrades='yes'
DowngradeErrorMessage='A newer version of [ProductName] is already installed. Setup will now exit.'/>
<Media Id='1' Cabinet='media1.cab' EmbedCab='yes' DiskPrompt='CD-ROM #1'/>