From 53fc1d902e523496997ba7abcc90d5d9aecf95df Mon Sep 17 00:00:00 2001 From: Mario Loriedo Date: Tue, 14 Apr 2026 18:29:47 +0200 Subject: [PATCH] Install WiX v5.0.2 to build the Windows installer To avoid failures such as https://github.com/containers/podman/actions/runs/24401569105/job/71274410909#step:10:78 use version v5.0.2 of WiX as we do in CI images: https://github.com/containers/automation_images/blob/fe80516848e8e3a1b93327e2f8a3e4d59c2db170/win_images/win_packaging.ps1#L27 Related to issue https://github.com/containers/podman/issues/27042 Signed-off-by: Mario Loriedo --- .github/workflows/release.yml | 2 +- contrib/win-installer/build.ps1 | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3c1ee7afc7..ee200456e1 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -180,7 +180,7 @@ jobs: go-version: stable cache: false - name: Set up WiX - run: dotnet tool install --global wix + run: dotnet tool install --global wix --version 5.0.2 - name: Setup Signature Tooling env: AZ_CERT_NAME: ${{ secrets.AZ_CERT_NAME }} diff --git a/contrib/win-installer/build.ps1 b/contrib/win-installer/build.ps1 index 9bee9b2807..282faed773 100644 --- a/contrib/win-installer/build.ps1 +++ b/contrib/win-installer/build.ps1 @@ -49,7 +49,7 @@ .NOTES Requirements: - .NET SDK (https://dotnet.microsoft.com/download) - - WiX Toolset (install: dotnet tool install --global wix) + - WiX Toolset (install: dotnet tool install --global wix --version 5.0.2) Environment Variables for signing (optional): $ENV:VAULT_ID $ENV:APP_ID $ENV:TENANT_ID @@ -114,7 +114,7 @@ Invoke-Expression 'dotnet tool list --global wix' ` if ($LASTEXITCODE -ne 0) { Write-Error ("Required dep `"Wix Toolset`" is not installed. " ` + 'Please install it with the command ' ` - + "`"dotnet tool install --global wix`"") + + "`"dotnet tool install --global wix --version 5.0.2`"") Exit 1 }