mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
* remove Validate-* scripts * Remove references to validation scripts from .json files * Separate "It"s by new lines * Remove new line before the first "It" * Separate "It"s by new lines * remove 32-bit WinAppDriver check * remove explicit variable definition Co-authored-by: Sergey Dolin <v-sedoli@micorosoft.com>
26 lines
943 B
PowerShell
26 lines
943 B
PowerShell
################################################################################
|
|
## File: Install-Wix.ps1
|
|
## Desc: Install WIX.
|
|
################################################################################
|
|
|
|
Import-Module -Name ImageHelpers -Force
|
|
|
|
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"
|
|
}
|
|
else
|
|
{
|
|
$extensionUrl = "https://robmensching.gallerycdn.vsassets.io/extensions/robmensching/wixtoolsetvisualstudio2017extension/0.9.21.62588/1494013210879/250616/4/Votive2017.vsix"
|
|
$VSver = "2017"
|
|
}
|
|
|
|
$extensionName = "Votive$VSver.vsix"
|
|
#Installing VS extension 'Wix Toolset Visual Studio Extension'
|
|
Install-VsixExtension -Url $extensionUrl -Name $extensionName -VSversion $VSver
|
|
|
|
Invoke-PesterTests -TestFile "Wix"
|