We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 687ce6d commit bdcedfdCopy full SHA for bdcedfd
Sources/Winget-AutoUpdate/functions/Install-Prerequisites.ps1
@@ -43,10 +43,10 @@ function Install-Prerequisites {
43
if ($needsInstall) {
44
try {
45
Write-ToLog "Installing VC++ Redistributable ($osArch)..."
46
- $url = "https://aka.ms/vs/17/release/VC_redist.$osArch.exe"
+ $VCRedistUrl = "https://aka.ms/vs/17/release/VC_redist.$osArch.exe"
47
$installer = "$env:TEMP\VC_redist.$osArch.exe"
48
49
- Invoke-WebRequest $url -OutFile $installer -UseBasicParsing
+ Invoke-WebRequest $VCRedistUrl -OutFile $installer -UseBasicParsing
50
Start-Process -FilePath $installer -ArgumentList "/quiet /norestart" -Wait
51
Write-ToLog "VC++ $osArch installed successfully." "Green"
52
}
0 commit comments