Skip to content

Commit

Permalink
Revert "feat(updater): use full path to msiexec" (#4739)
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasfernog committed Jul 22, 2022
1 parent f116ee6 commit 9a8f8fc
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 7 deletions.
5 changes: 0 additions & 5 deletions .changes/msiexec-full-path.md

This file was deleted.

4 changes: 2 additions & 2 deletions core/tauri/src/updater/core.rs
Expand Up @@ -802,7 +802,7 @@ fn copy_files_and_run<R: Read + Seek>(
"Start-Process",
"-Wait",
"-FilePath",
"C:\\Windows\\system32\\msiexec.exe",
"msiexec",
"-ArgumentList",
])
.arg("/i,")
Expand All @@ -814,7 +814,7 @@ fn copy_files_and_run<R: Read + Seek>(
if powershell_install_res.is_err() {
// fallback to running msiexec directly - relaunch won't be available
// we use this here in case powershell fails in an older machine somehow
let _ = Command::new("C:\\Windows\\system32\\msiexec.exe")
let _ = Command::new("msiexec.exe")
.arg("/i")
.arg(found_path)
.args(msiexec_args)
Expand Down

0 comments on commit 9a8f8fc

Please sign in to comment.