Skip to content

Commit 007661a

Browse files
committed
Specify WiX Toolset version on Windows
The WiX version should be consistent with the one that is specified to build the Podman installer. Moreover the WiX toolset licensing has changed with the release of version 6 and we should not upgrade to it unless Podman organization becomes a sponsor of the project: containers/podman#27042 Signed-off-by: Mario Loriedo <[email protected]>
1 parent d1647d6 commit 007661a

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

win_images/win_packaging.ps1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,8 +22,9 @@ Invoke-WebRequest -Uri https://dotnet.microsoft.com/download/dotnet/scripts/v1/d
2222
# Configure NuGet sources for dotnet to fetch wix (and other packages) from
2323
& 'C:\Program Files\dotnet\dotnet.exe' nuget add source https://api.nuget.org/v3/index.json -n nuget.org
2424

25-
# Install wix
26-
& 'C:\Program Files\dotnet\dotnet.exe' tool install --global wix
25+
# Install wix. Version should match the one in
26+
# https://github.com/containers/podman/blob/main/contrib/win-installer/podman.wixproj
27+
& 'C:\Program Files\dotnet\dotnet.exe' tool install --global wix --version 5.0.2
2728

2829
# Install Hyper-V
2930
Enable-WindowsOptionalFeature -Online -FeatureName Microsoft-Hyper-V -All -NoRestart

0 commit comments

Comments
 (0)