diff --git a/.changes/fix-wix-autostart-after-update.md b/.changes/fix-wix-autostart-after-update.md new file mode 100644 index 000000000000..242443260f6f --- /dev/null +++ b/.changes/fix-wix-autostart-after-update.md @@ -0,0 +1,5 @@ +--- +tauri-bundler: patch:enhance +--- + +Added a public property to the msi to tell the installer to launch the app after installation. This was added for the updater plugin. diff --git a/tooling/bundler/src/bundle/windows/templates/main.wxs b/tooling/bundler/src/bundle/windows/templates/main.wxs index 4ba6a480cdb0..fbbc0d6693cd 100644 --- a/tooling/bundler/src/bundle/windows/templates/main.wxs +++ b/tooling/bundler/src/bundle/windows/templates/main.wxs @@ -29,6 +29,11 @@ + + + + + {{#if allow_downgrades}} {{else}} @@ -70,8 +75,7 @@ - - + @@ -334,6 +338,10 @@ {{/if}} + + AUTOLAUNCHAPP AND NOT Installed + +