summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--install.ps12
1 files changed, 1 insertions, 1 deletions
diff --git a/install.ps1 b/install.ps1
index 94bf3832..2c537f9a 100644
--- a/install.ps1
+++ b/install.ps1
@@ -57,7 +57,7 @@ function download {
[Net.ServicePointManager]::SecurityProtocol = [Net.SecurityProtocolType]::Tls12
(New-Object Net.WebClient).DownloadFile($url, $ExecutionContext.SessionState.Path.GetUnresolvedProviderPathFromPSPath("$temp"))
if ($?) {
- (Expand-Archive -Path $temp -DestinationPath .); (Remove-Item $temp)
+ (Microsoft.PowerShell.Archive\Expand-Archive -Path $temp -DestinationPath .); (Remove-Item $temp)
} else {
$binary_error="Failed to download with powershell"
}