Merge branch 'main' into cleaning

pull/29/head
Romain 2022-03-22 14:49:53 +01:00 committed by GitHub
commit d19a21b6f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -63,7 +63,7 @@ function Check-Prerequisites{
$SourceURL = "https://aka.ms/vs/16/release/VC_redist.$OSArch.exe" $SourceURL = "https://aka.ms/vs/16/release/VC_redist.$OSArch.exe"
$Installer = $WingetUpdatePath + "\VC_redist.$OSArch.exe" $Installer = $WingetUpdatePath + "\VC_redist.$OSArch.exe"
$ProgressPreference = 'SilentlyContinue' $ProgressPreference = 'SilentlyContinue'
Invoke-WebRequest $SourceURL -OutFile $Installer Invoke-WebRequest $SourceURL -OutFile (New-Item -Path $Installer -Force)
Write-host "Installing VC_redist.$OSArch.exe..." Write-host "Installing VC_redist.$OSArch.exe..."
Start-Process -FilePath $Installer -Args "/quiet /norestart" -Wait Start-Process -FilePath $Installer -Args "/quiet /norestart" -Wait
Remove-Item $Installer -ErrorAction Ignore Remove-Item $Installer -ErrorAction Ignore