[Windows] Add WiX to VS on Windows-2022 (#4895)

* [Windows] Add wix to VS on Windows-2022

* [Windows] Move WiX in toolset on windows 16, 19
This commit is contained in:
V-Zabayrachny
2022-01-21 18:40:37 +03:00
committed by GitHub
parent e2ebfcd1e9
commit df0e83c8f7
5 changed files with 5 additions and 33 deletions

View File

@@ -5,23 +5,4 @@
Choco-Install -PackageName wixtoolset -ArgumentList "--force"
if (Test-IsWin19)
{
$extensionUrl = "https://wixtoolset.gallerycdn.vsassets.io/extensions/wixtoolset/wixtoolsetvisualstudio2019extension/1.0.0.4/1563296438961/Votive2019.vsix"
$VSver = "2019"
}
elseif (Test-IsWin16)
{
$extensionUrl = "https://robmensching.gallerycdn.vsassets.io/extensions/robmensching/wixtoolsetvisualstudio2017extension/0.9.21.62588/1494013210879/250616/4/Votive2017.vsix"
$VSver = "2017"
}
if (-not (Test-IsWin22))
{
$extensionName = "Votive$VSver.vsix"
#Installing VS extension 'Wix Toolset Visual Studio Extension'
Install-VsixExtension -Url $extensionUrl -Name $extensionName -VSversion $VSver
}
Invoke-PesterTests -TestFile "Wix"