Browse Source

fix(bundler): Auto-launch app from install location, closes #3547 (#3553)

Co-authored-by: Lucas Nogueira <lucas@tauri.studio>
Fabian-Lars 3 years ago
parent
commit
8d699283a4

+ 5 - 0
.changes/msi-run-from-install-path.md

@@ -0,0 +1,5 @@
+---
+"tauri-bundler": patch
+---
+
+Fixes the Microsoft Installer launch path.

+ 1 - 1
tooling/bundler/src/bundle/windows/templates/main.wxs

@@ -52,7 +52,7 @@
 
         <!-- launch app checkbox -->
         <Property Id="WIXUI_EXITDIALOGOPTIONALCHECKBOXTEXT" Value="!(loc.LaunchApp)" />
-        <Property Id="WixShellExecTarget" Value="{{{app_exe_source}}}" />
+        <Property Id="WixShellExecTarget" Value="[!Path]" />
         <CustomAction Id="LaunchApplication" BinaryKey="WixCA" DllEntry="WixShellExec" Impersonate="yes" />
 
         <UI>

+ 2 - 2
tooling/cli/Cargo.lock

@@ -1019,9 +1019,9 @@ dependencies = [
 
 [[package]]
 name = "image"
-version = "0.24.0"
+version = "0.24.1"
 source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "e94ac3d41f882c624a82d7945952032388488681f45f9d4077999a6c85688d61"
+checksum = "db207d030ae38f1eb6f240d5a1c1c88ff422aa005d10f8c6c6fc5e75286ab30e"
 dependencies = [
  "bytemuck",
  "byteorder",