diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 9383c14da37..f884d69f1ee 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -387,7 +387,7 @@ jobs: nodejs & "C:\Program Files\OpenSSL\unins000.exe" /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /SP- | Out-Host (Join-Path $Env:ProgramFiles NASM) | Out-File $Env:GITHUB_PATH -Append - (Join-Path ${Env:ProgramFiles(x86)} 'WiX Toolset v3.11' bin) | Out-File $Env:GITHUB_PATH -Append + (Join-Path (Get-Item -Path "${Env:ProgramFiles(x86)}\WiX Toolset v3.*")[0].FullName bin) | Out-File $Env:GITHUB_PATH -Append Install-Module -Name Pscx -RequiredVersion 4.0.0-beta4 -AllowPrerelease -Force - name: Get Source diff --git a/appveyor.yml b/appveyor.yml index 77086e149f2..cdacf14b7a5 100644 --- a/appveyor.yml +++ b/appveyor.yml @@ -61,7 +61,7 @@ for: choco install python3 --pre choco install nasm choco install jom - choco install wixtoolset --version 3.11.2 + choco install wixtoolset --version 3.14.0 choco install ccache --version 4.8.3 Remove-Item -Path (Join-Path $Env:SystemDrive OpenSSL-Win32) -Recurse @@ -74,7 +74,7 @@ for: $Env:PATH = @( (Join-Path $Env:SystemDrive Strawberry perl bin) (Join-Path $Env:ProgramFiles NASM) - (Join-Path ${Env:ProgramFiles(x86)} 'WiX Toolset v3.11' bin) + (Join-Path (Get-Item -Path "${Env:ProgramFiles(x86)}\WiX Toolset v3.*")[0].FullName bin) $Env:PATH ) -join [System.IO.Path]::PathSeparator