Skip to content

Commit 7aaf27c

Browse files
authored
fix(bundler): load WiX DLLs on Github Actions (#5552)
1 parent 014aeca commit 7aaf27c

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changes/fix-wix-dll-load.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"tauri-bundler": patch
3+
---
4+
5+
Fix WiX DLL load on Windows Server.

tooling/bundler/src/bundle/windows/msi/wix.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -286,6 +286,7 @@ fn clear_env_for_wix(cmd: &mut Command) {
286286
let required_vars: Vec<std::ffi::OsString> =
287287
vec!["SYSTEMROOT".into(), "TMP".into(), "TEMP".into()];
288288
for (k, v) in std::env::vars_os() {
289+
let k = k.to_ascii_uppercase();
289290
if required_vars.contains(&k) || k.to_string_lossy().starts_with("TAURI") {
290291
cmd.env(k, v);
291292
}

0 commit comments

Comments
 (0)