mirror of
https://github.com/actions/runner-images.git
synced 2025-12-15 06:08:07 +00:00
* [Windows] Add wix to VS on Windows-2022 * [Windows] Move WiX in toolset on windows 16, 19
12 lines
433 B
PowerShell
12 lines
433 B
PowerShell
Describe "Wix" {
|
|
BeforeAll {
|
|
$regKey = "HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*"
|
|
$installedApplications = Get-ItemProperty -Path $regKey
|
|
$version = ($installedApplications | Where-Object { $_.BundleCachePath -imatch ".*\\WiX\d*\.exe$" } | Select-Object -First 1).DisplayName
|
|
}
|
|
|
|
It "Wix Toolset version from registry" {
|
|
$version | Should -Not -BeNullOrEmpty
|
|
}
|
|
}
|