Skip to content

Commit

Permalink
fix(bundler): load WiX DLLs on Github Actions (#5552)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Nov 5, 2022
1 parent 014aeca commit 7aaf27c
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changes/fix-wix-dll-load.md
@@ -0,0 +1,5 @@
---
"tauri-bundler": patch
---

Fix WiX DLL load on Windows Server.
1 change: 1 addition & 0 deletions tooling/bundler/src/bundle/windows/msi/wix.rs
Expand Up @@ -286,6 +286,7 @@ fn clear_env_for_wix(cmd: &mut Command) {
let required_vars: Vec<std::ffi::OsString> =
vec!["SYSTEMROOT".into(), "TMP".into(), "TEMP".into()];
for (k, v) in std::env::vars_os() {
let k = k.to_ascii_uppercase();
if required_vars.contains(&k) || k.to_string_lossy().starts_with("TAURI") {
cmd.env(k, v);
}
Expand Down

0 comments on commit 7aaf27c

Please sign in to comment.