scripts/Windows/install_wix_toolset_vs2019.ps1

Write-Host "Installing WiX Toolset Visual Studio 2019..." -ForegroundColor Cyan
Write-Host "Downloading..."
$vsixPath = "$($env:USERPROFILE)\Votive2019.vsix"
(New-Object Net.WebClient).DownloadFile('https://github.com/wixtoolset/VisualStudioExtension/releases/download/v1.0.0.3/Votive2019.vsix', $vsixPath)
Write-Host "Installing..."
Start-Process "C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\Common7\IDE\VSIXInstaller.exe" "/q /a $vsixPath" -Wait
Write-Host "Installed" -ForegroundColor Green
Remove-Item $vsixPath -Force -ErrorAction Ignore