Clean up from one-liner PS. [skip ci]
This commit is contained in:
parent
78bc24a3b8
commit
19c1e610cd
@ -3,4 +3,5 @@ $temp = [Environment]::GetEnvironmentVariable("TEMP")
|
|||||||
$file = "$temp\Redist-Installer.bat"
|
$file = "$temp\Redist-Installer.bat"
|
||||||
|
|
||||||
(New-Object System.Net.WebClient).DownloadFile($url, $file)
|
(New-Object System.Net.WebClient).DownloadFile($url, $file)
|
||||||
Start-Process $file
|
Start-Process -Wait $file
|
||||||
|
Remove-Item $file
|
||||||
|
Loading…
Reference in New Issue
Block a user