@@ -0,0 +1,5 @@
+---
+"tauri-bundler": patch
+
+Change WiX MajorUpgrade element's `Schedule` to `afterInstallExecute` to prevent removal of existing configuration such as the executable's pin to taskbar.
@@ -30,7 +30,7 @@
<Property Id="REINSTALLMODE" Value="dmus" />
{{#if allow_downgrades}}
- <MajorUpgrade AllowDowngrades="yes" Schedule="afterInstallInitialize" />
+ <MajorUpgrade AllowDowngrades="yes" Schedule="afterInstallExecute" />
{{else}}
<MajorUpgrade DowngradeErrorMessage="!(loc.DowngradeErrorMessage)" AllowSameVersionUpgrades="yes" />
{{/if}}