Skip to content

Commit

Permalink
feat(bundler): check Launch app by default for WiX, closes tauri-ap…
Browse files Browse the repository at this point in the history
  • Loading branch information
amrbashir authored Dec 26, 2022
1 parent c260842 commit 89602cd
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .changes/wix-launch-app-checked.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"tauri-bundler": "patch"
---

On Windows, the `msi` installer's `Launch App` checkbox will be checked by default.

1 change: 1 addition & 0 deletions tooling/bundler/src/bundle/windows/templates/main.wxs
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@

<!-- launch app checkbox -->
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="!(loc.LaunchApp)" />
<Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOX" Value="1"/>
<Property Id="WixShellExecTarget" Value="[!Path]" />
<CustomAction Id="LaunchApplication" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes" />

Expand Down

0 comments on commit 89602cd

Please sign in to comment.