mirror of
https://github.com/actions/runner-images-sangeeth.git
synced 2025-12-20 06:29:50 +00:00
Add WiX v3 to Windows 2022. (#4448)
Move WiX to tools and stop installing WiX Votive VSIX, which isn't needed for build.
This commit is contained in:
@@ -5,24 +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"
|
||||
}
|
||||
else
|
||||
{
|
||||
throw "Invalid version of Visual Studio is found. Either 2017 or 2019 are required"
|
||||
}
|
||||
|
||||
$extensionName = "Votive$VSver.vsix"
|
||||
|
||||
#Installing VS extension 'Wix Toolset Visual Studio Extension'
|
||||
Install-VsixExtension -Url $extensionUrl -Name $extensionName -VSversion $VSver
|
||||
|
||||
Invoke-PesterTests -TestFile "Wix"
|
||||
Invoke-PesterTests -TestFile "Tools" -TestName "WiX"
|
||||
|
||||
Reference in New Issue
Block a user