fix(bundler): AllowSameVersionUpgrades on WiX, closes #2211 (#2428)

This commit is contained in:
Lucas Fernandes Nogueira 2021-08-14 14:44:30 -03:00 committed by GitHub
parent aa0828f8ad
commit dd5e1ede32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 7 additions and 3 deletions

View File

@ -0,0 +1,5 @@
---
"tauri-bundler": patch
---
Change the WiX config to allow upgrading installation with same version instead of duplicating the application.

View File

@ -26,9 +26,8 @@
InstallScope="perMachine"
SummaryCodepage="{{ascii_codepage}}"/>
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed."
MigrateFeatures="yes" />
<MajorUpgrade DowngradeErrorMessage="A newer version of [ProductName] is already installed."
AllowSameVersionUpgrades="yes" />
<Media Id="1" Cabinet="app.cab" EmbedCab="yes" />