mirror of
https://github.com/ScoopInstaller/Scoop.git
synced 2026-08-28 17:17:02 +00:00
fix for issue #83: handle space in path when extracting MSI
This commit is contained in:
+1
-1
@@ -356,7 +356,7 @@ function install_msi($fname, $dir, $msi) {
|
||||
}
|
||||
|
||||
function extract_msi($path, $to) {
|
||||
$ok = run 'msiexec' @('/a', "$dir\$fname", '/qn', "TARGETDIR=`"$to`"")
|
||||
$ok = run 'msiexec' @('/a', "`"$dir\$fname`"", '/qn', "TARGETDIR=`"$to`"")
|
||||
if(!$ok) { abort "failed to extract files from $path" }
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user