mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-12-15 21:53:59 +03:00
This commit is contained in:
parent
95726ebb61
commit
72e577dcc6
5
.changes/fix-windows-downgrades.md
Normal file
5
.changes/fix-windows-downgrades.md
Normal file
@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-bundler": patch
|
||||
---
|
||||
|
||||
Fix app downgrades when using the Windows installer.
|
@ -25,8 +25,12 @@
|
||||
InstallScope="perMachine"
|
||||
SummaryCodepage="!(loc.TauriCodepage)"/>
|
||||
|
||||
<!-- https://docs.microsoft.com/en-us/windows/win32/msi/reinstallmode -->
|
||||
<!-- force all files to be reinstalled; rewrite all registry entries; reinstall all shortcuts -->
|
||||
<Property Id="REINSTALLMODE" Value="amus" />
|
||||
|
||||
{{#if allow_downgrades}}
|
||||
<MajorUpgrade AllowDowngrades="yes" />
|
||||
<MajorUpgrade AllowDowngrades="yes" Schedule="afterInstallInitialize" />
|
||||
{{else}}
|
||||
<MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeErrorMessage)" AllowSameVersionUpgrades="yes" />
|
||||
{{/if}}
|
||||
|
Loading…
Reference in New Issue
Block a user