diff --git a/one-liner.ps1 b/one-liner.ps1 index 73e9c35..7f4e829 100644 --- a/one-liner.ps1 +++ b/one-liner.ps1 @@ -3,4 +3,5 @@ $temp = [Environment]::GetEnvironmentVariable("TEMP") $file = "$temp\Redist-Installer.bat" (New-Object System.Net.WebClient).DownloadFile($url, $file) -Start-Process $file +Start-Process -Wait $file +Remove-Item $file