Skip to content

Commit dd5e1ed

Browse files
authored
fix(bundler): AllowSameVersionUpgrades on WiX, closes #2211 (#2428)
1 parent aa0828f commit dd5e1ed

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"tauri-bundler": patch
3+
---
4+
5+
Change the WiX config to allow upgrading installation with same version instead of duplicating the application.

tooling/bundler/src/bundle/windows/templates/main.wxs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,8 @@
2626
InstallScope="perMachine"
2727
SummaryCodepage="{{ascii_codepage}}"/>
2828

29-
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed."
30-
MigrateFeatures="yes" />
31-
29+
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed."
30+
AllowSameVersionUpgrades="yes" />
3231

3332
<Media Id="1" Cabinet="app.cab" EmbedCab="yes" />
3433

0 commit comments

Comments
 (0)