mirror of
https://github.com/tauri-apps/tauri.git
synced 2026-04-03 10:11:15 +02:00
fix(bundler): wix upgrade do not installing new files, closes #4182
This commit is contained in:
5
.changes/fix-wix-upgrade.md
Normal file
5
.changes/fix-wix-upgrade.md
Normal file
@@ -0,0 +1,5 @@
|
||||
---
|
||||
"tauri-bundler": patch
|
||||
---
|
||||
|
||||
Fixes lost files on upgrade due to wrong implementation to keep shortcuts.
|
||||
@@ -30,11 +30,15 @@
|
||||
<Property Id="REINSTALLMODE" Value="dmus" />
|
||||
|
||||
{{#if allow_downgrades}}
|
||||
<MajorUpgrade AllowDowngrades="yes" Schedule="afterInstallExecute" />
|
||||
<MajorUpgrade AllowDowngrades="yes" Schedule="afterInstallValidate" />
|
||||
{{else}}
|
||||
<MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeErrorMessage)" AllowSameVersionUpgrades="yes" />
|
||||
{{/if}}
|
||||
|
||||
<InstallExecuteSequence>
|
||||
<RemoveShortcuts>Installed AND NOT UPGRADINGPRODUCTCODE</RemoveShortcuts>
|
||||
</InstallExecuteSequence>
|
||||
|
||||
<Media Id="1" Cabinet="app.cab" EmbedCab="yes" />
|
||||
|
||||
{{#if banner_path}}
|
||||
|
||||
Reference in New Issue
Block a user