feat(bundler): check Launch app by default for WiX, closes #5859 (#5871)

This commit is contained in:
Amr Bashir
2022-12-26 16:36:43 +02:00
committed by GitHub
parent c2608423b6
commit 89602cdce3
2 changed files with 7 additions and 0 deletions

View File

@@ -0,0 +1,6 @@
---
"tauri-bundler": "patch"
---
On Windows, the `msi` installer's `Launch App` checkbox will be checked by default.

View File

@@ -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" />