Revert "Add WiX v3 to Windows 2022. (#4448)" (#4604)

This reverts commit 4672cb208d.
This commit is contained in:
Mikhail Koliada
2021-11-26 20:37:33 +03:00
committed by GitHub
parent 978ab79564
commit 3063eac712
7 changed files with 59 additions and 15 deletions
@@ -161,12 +161,6 @@ 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