redist-installer/one-liner.ps1
2023-03-04 13:30:44 -06:00

8 lines
294 B
PowerShell

$url = "https://github.com/chxseh/redist-installer/releases/download/latest/Redist-Installer.bat"
$temp = [Environment]::GetEnvironmentVariable("TEMP")
$file = "$temp\Redist-Installer.bat"
(New-Object System.Net.WebClient).DownloadFile($url, $file)
Start-Process -Wait $file
Remove-Item $file