added norestart to VC
parent
320b2ce356
commit
f3a06fd3c9
|
@ -61,7 +61,7 @@ function Check-Prerequisites{
|
||||||
$ProgressPreference = 'SilentlyContinue'
|
$ProgressPreference = 'SilentlyContinue'
|
||||||
Invoke-WebRequest $SourceURL -OutFile $Installer
|
Invoke-WebRequest $SourceURL -OutFile $Installer
|
||||||
Write-host "Installing VC_redist.$OSArch.exe..."
|
Write-host "Installing VC_redist.$OSArch.exe..."
|
||||||
Start-Process -FilePath $Installer -Args "-q" -Wait
|
Start-Process -FilePath $Installer -Args "/quiet /norestart" -Wait
|
||||||
Remove-Item $Installer -ErrorAction Ignore
|
Remove-Item $Installer -ErrorAction Ignore
|
||||||
Write-host "MS Visual C++ 2015-2019 installed successfully" -ForegroundColor Green
|
Write-host "MS Visual C++ 2015-2019 installed successfully" -ForegroundColor Green
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue