Merge pull request #25 from Romanitho/Fix_install
Fixed issue on dependency installationpull/29/head^2 v1.5.4
commit
642395b9b1
|
@ -63,7 +63,7 @@ function Check-Prerequisites{
|
|||
$SourceURL = "https://aka.ms/vs/16/release/VC_redist.$OSArch.exe"
|
||||
$Installer = $WingetUpdatePath + "\VC_redist.$OSArch.exe"
|
||||
$ProgressPreference = 'SilentlyContinue'
|
||||
Invoke-WebRequest $SourceURL -OutFile $Installer
|
||||
Invoke-WebRequest $SourceURL -OutFile (New-Item -Path $Installer -Force)
|
||||
Write-host "Installing VC_redist.$OSArch.exe..."
|
||||
Start-Process -FilePath $Installer -Args "/quiet /norestart" -Wait
|
||||
Remove-Item $Installer -ErrorAction Ignore
|
||||
|
|
Loading…
Reference in New Issue