fix for issue #83: handle space in path when extracting MSI

This commit is contained in:
Luke Sampson
2014-03-21 14:10:58 +10:00
parent 8641a2e1ee
commit f0f678261a
+1 -1
View File
@@ -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" }
}