Skip to content

Commit 89602cd

Browse files
authored
feat(bundler): check Launch app by default for WiX, closes #5859 (#5871)
1 parent c260842 commit 89602cd

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changes/wix-launch-app-checked.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
---
2+
"tauri-bundler": "patch"
3+
---
4+
5+
On Windows, the `msi` installer's `Launch App` checkbox will be checked by default.
6+

tooling/bundler/src/bundle/windows/templates/main.wxs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@
6363

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

0 commit comments

Comments
 (0)