From 6ab39e5940c4673c40067b42c1cac7a5b08f5c7c Mon Sep 17 00:00:00 2001 From: Petr Gadorek Date: Fri, 31 Oct 2025 13:27:35 +0800 Subject: [PATCH 1/2] modified wix so msi will be added to the system path --- src-tauri/tauri.conf.json | 5 +++++ src-tauri/wix/main.wxs | 15 +++++++++++++++ 2 files changed, 20 insertions(+) create mode 100644 src-tauri/wix/main.wxs diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index c7d49fee..476d821d 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -33,6 +33,11 @@ "icons/icon.ico" ], "copyright": "Copyright © 2025 Espressif Systems. All rights reserved.", + "windows": { + "wix": { + "template": "./wix/main.wxs" + } + }, "macOS": { "entitlements": "../eim.entitlement", "exceptionDomain": "", diff --git a/src-tauri/wix/main.wxs b/src-tauri/wix/main.wxs new file mode 100644 index 00000000..ddbb3704 --- /dev/null +++ b/src-tauri/wix/main.wxs @@ -0,0 +1,15 @@ + + + + + + + + From 7bfd32df5484e46e289738d3e95184cc8a93c449 Mon Sep 17 00:00:00 2001 From: Petr Gadorek Date: Mon, 10 Nov 2025 07:42:59 +0100 Subject: [PATCH 2/2] another attempt --- src-tauri/tauri.conf.json | 2 +- src-tauri/wix/fragment.wxs | 18 ++++++++++++++++++ src-tauri/wix/main.wxs | 15 --------------- 3 files changed, 19 insertions(+), 16 deletions(-) create mode 100644 src-tauri/wix/fragment.wxs delete mode 100644 src-tauri/wix/main.wxs diff --git a/src-tauri/tauri.conf.json b/src-tauri/tauri.conf.json index 476d821d..338ea733 100644 --- a/src-tauri/tauri.conf.json +++ b/src-tauri/tauri.conf.json @@ -35,7 +35,7 @@ "copyright": "Copyright © 2025 Espressif Systems. All rights reserved.", "windows": { "wix": { - "template": "./wix/main.wxs" + "fragmentPaths": ["./wix/fragment.wxs"] } }, "macOS": { diff --git a/src-tauri/wix/fragment.wxs b/src-tauri/wix/fragment.wxs new file mode 100644 index 00000000..af3615b0 --- /dev/null +++ b/src-tauri/wix/fragment.wxs @@ -0,0 +1,18 @@ + + + + + + + + + + + diff --git a/src-tauri/wix/main.wxs b/src-tauri/wix/main.wxs deleted file mode 100644 index ddbb3704..00000000 --- a/src-tauri/wix/main.wxs +++ /dev/null @@ -1,15 +0,0 @@ - - - - - - - -