diff --git a/install.ps1 b/install.ps1 index 94bf383..2c537f9 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" }