Uploaded image for project: 'Container Tools'
  1. Container Tools
  2. RUN-2098

[containers/podman] Update Windows installer to use WiX 4 Thmutil RadioButton to allow WSL/Hyper-V selection

XMLWordPrintable

    • 5
    • False
    • None
    • False
    • rhel-sst-container-tools
    • RUN 259

      [2261706633] Upstream Reporter: Mario Loriedo
      Upstream issue status: Closed
      Upstream description:

      Feature request description

      TL;DR podman windows setup.exe should use radio buttons to present the machine provider alternatives (WSL and HyperV). But that requires WiX v4.

      The selection of the machine provider (WSL or Hyper-V) requires radio buttons in the installer GUI. That can be implemented using WiX v3 RadioButton for the MSI package (podman.msi) but requires WiX v4 for the podman-setup.exe bundle.

      In fact the windows installer podman-setup.exe is a bundle that includes:

      • the MSI package podman.msi
      • the executable podman-wslkerninst.exe

      Most importantly for this issue, the the podman-setup.exe GUI is implemented with WiX Standard Bootstrapper Application customized using a ThemeFile and is different from the podman.msi GUI.

      WiX v3 Boostrapper Application Theme doesn't have radio buttons but v4 does.

      Suggest potential solution

      Use https://wixtoolset.org/docs/schema/thmutil/radiobutton/.

      Have you considered any alternatives?

      We could use a checkbox

      {{ [ ] use Hyper-V rather then WSL}}

      but that's not ideal.

      Additional context

      Add any other context or screenshots about the feature request here.


      Upstream URL: https://github.com/containers/podman/issues/22492

              Unassigned Unassigned
              upstream-sync Upstream Sync
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: