one-liner powershell script [skip ci]
This commit is contained in:
parent
35bf0d8195
commit
9945c6eb56
@ -13,6 +13,10 @@ Installs common Redist programs for Windows.
|
||||
|
||||
[Want an offline installer? Download here.](https://chse.dev/offlineredists)
|
||||
|
||||
```powershell
|
||||
irm chse.dev/ri | iex
|
||||
```
|
||||
|
||||
| Program Name | Official |
|
||||
| ----------------------------------------------------------------------- | -------- |
|
||||
| Microsoft Visual C++ 2015-2019 Redistributable (x86, x64) - 14.29.30139 | Yes |
|
||||
|
6
one-liner.ps1
Normal file
6
one-liner.ps1
Normal file
@ -0,0 +1,6 @@
|
||||
$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 $file
|
Loading…
Reference in New Issue
Block a user