mirror of
https://github.com/tauri-apps/tauri.git
synced 2024-09-11 07:55:34 +03:00
Revert "feat(updater): use full path to msiexec" (#4739)
This commit is contained in:
parent
f116ee6a12
commit
9a8f8fc815
@ -1,5 +0,0 @@
|
||||
---
|
||||
"tauri": patch
|
||||
---
|
||||
|
||||
Use full path to `msiexec.exe` in the updater.
|
@ -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,")
|
||||
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user