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:
Bob Arnson
2021-11-10 06:38:26 -05:00
committed by GitHub
parent 48df2547e7
commit 4672cb208d
7 changed files with 15 additions and 59 deletions

View File

@@ -156,6 +156,12 @@ function Get-WinAppDriver {
return "WinAppDriver $winAppDriverVersion"
}
function Get-WixVersion {
$regKey = "HKLM:\Software\Wow6432Node\Microsoft\Windows\CurrentVersion\Uninstall\*"
$installedApplications = Get-ItemProperty -Path $regKey
return ($installedApplications | Where-Object { $_.BundleCachePath -imatch ".*\\WiX\d*\.exe$" } | Select-Object -First 1).DisplayName
}
function Get-ZstdVersion {
$(zstd --version) -match "v(?<version>\d+\.\d+\.\d+)" | Out-Null
$zstdVersion = $Matches.Version