scripts/Windows/install_vdproj_vs2019.ps1
Write-Host "Installing Visual Studio Installer Projects 2019..." -ForegroundColor Cyan Write-Host "Downloading..." $vsixPath = "$($env:TEMP)\InstallerProjects.vsix" (New-Object Net.WebClient).DownloadFile('https://visualstudioclient.gallerycdn.vsassets.io/extensions/visualstudioclient/microsoftvisualstudio2017installerprojects/0.9.3/1557425218768/InstallerProjects.vsix', $vsixPath) Write-Host "Installing..." $vsPath = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\Community" if (-not (Test-Path $vsPath)) { $vsPath = "${env:ProgramFiles(x86)}\Microsoft Visual Studio\2019\Preview" } Start-Process "$vsPath\Common7\IDE\VSIXInstaller.exe" "/q /a $vsixPath" -Wait Remove-Item $vsixPath -Force -ErrorAction Ignore Write-Host "Installed" -ForegroundColor Green |