From f0f678261a064a3eb355c776120f64f1f4c30335 Mon Sep 17 00:00:00 2001 From: Luke Sampson Date: Fri, 21 Mar 2014 14:10:58 +1000 Subject: [PATCH] fix for issue #83: handle space in path when extracting MSI --- lib/install.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/install.ps1 b/lib/install.ps1 index 865d4ae5..40aeaad7 100644 --- a/lib/install.ps1 +++ b/lib/install.ps1 @@ -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" } }