Skip to content

Commit 6ab39e5

Browse files
committed
modified wix so msi will be added to the system path
1 parent 0a17c86 commit 6ab39e5

File tree

2 files changed

+20
-0
lines changed

2 files changed

+20
-0
lines changed

src-tauri/tauri.conf.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333
"icons/icon.ico"
3434
],
3535
"copyright": "Copyright © 2025 Espressif Systems. All rights reserved.",
36+
"windows": {
37+
"wix": {
38+
"template": "./wix/main.wxs"
39+
}
40+
},
3641
"macOS": {
3742
"entitlements": "../eim.entitlement",
3843
"exceptionDomain": "",

src-tauri/wix/main.wxs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<Wix xmlns="http://schemas.microsoft.com/wix/2006/wi">
3+
<Fragment>
4+
<Component Id="Path" Guid="A6734AA2-8C86-49D5-8501-2DD147D7C816" Directory="INSTALLDIR">
5+
<Environment
6+
Id="PATH"
7+
Name="PATH"
8+
Value="[INSTALLDIR]"
9+
Permanent="no"
10+
Part="last"
11+
Action="set"
12+
System="yes" />
13+
</Component>
14+
</Fragment>
15+
</Wix>

0 commit comments

Comments
 (0)