mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 22:26:56 +00:00
[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:
@@ -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"
|
||||
|
||||
@@ -8,16 +8,4 @@ Describe "Wix" {
|
||||
It "Wix Toolset version from registry" {
|
||||
$version | Should -Not -BeNullOrEmpty
|
||||
}
|
||||
|
||||
It "Wix Toolset version from system" -Skip:(Test-IsWin22) {
|
||||
if (Test-IsWin19)
|
||||
{
|
||||
$exVersion = Get-VSExtensionVersion -packageName "WixToolset.VisualStudioExtension.Dev16"
|
||||
}
|
||||
else
|
||||
{
|
||||
$exVersion = Get-VSExtensionVersion -packageName "WixToolset.VisualStudioExtension.Dev15"
|
||||
}
|
||||
$exVersion | Should -Not -BeNullOrEmpty
|
||||
}
|
||||
}
|
||||
|
||||
@@ -343,6 +343,7 @@
|
||||
"Microsoft.VisualStudio.Workload.Office"
|
||||
],
|
||||
"vsix": [
|
||||
"WixToolset.WixToolsetVisualStudio2017Extension"
|
||||
]
|
||||
},
|
||||
"docker": {
|
||||
|
||||
@@ -377,7 +377,8 @@
|
||||
"SSIS.SqlServerIntegrationServicesProjects",
|
||||
"ProBITools.MicrosoftReportProjectsforVisualStudio",
|
||||
"VisualStudioClient.MicrosoftVisualStudio2017InstallerProjects",
|
||||
"ms-biztalk.BizTalk"
|
||||
"ms-biztalk.BizTalk",
|
||||
"WixToolset.WixToolsetVisualStudio2019Extension"
|
||||
]
|
||||
},
|
||||
"docker": {
|
||||
|
||||
@@ -247,7 +247,8 @@
|
||||
"wasm.tools"
|
||||
],
|
||||
"vsix": [
|
||||
"VisualStudioClient.MicrosoftVisualStudio2022InstallerProjects"
|
||||
"VisualStudioClient.MicrosoftVisualStudio2022InstallerProjects",
|
||||
"WixToolset.WixToolsetVisualStudio2022Extension"
|
||||
]
|
||||
},
|
||||
"docker": {
|
||||
|
||||
Reference in New Issue
Block a user