From f3a06fd3c9a97d999aa41f7f109bf014dc36fb51 Mon Sep 17 00:00:00 2001 From: Romain <96626929+Romanitho@users.noreply.github.com> Date: Sat, 26 Feb 2022 02:07:50 +0100 Subject: [PATCH] added norestart to VC --- Winget-AutoUpdate-Install.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Winget-AutoUpdate-Install.ps1 b/Winget-AutoUpdate-Install.ps1 index 94388ce..466f2fe 100644 --- a/Winget-AutoUpdate-Install.ps1 +++ b/Winget-AutoUpdate-Install.ps1 @@ -61,7 +61,7 @@ function Check-Prerequisites{ $ProgressPreference = 'SilentlyContinue' Invoke-WebRequest $SourceURL -OutFile $Installer 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 Write-host "MS Visual C++ 2015-2019 installed successfully" -ForegroundColor Green }