mirror of
https://github.com/containers/podman.git
synced 2026-10-23 18:29:13 -04:00
podman.msi GUI has a radio-button to select WSL or Hyper-V The checkbox in podman.msi GUI allow the user to specify if the machine provider installation (WSL or Hyper-V) should be part of podman installation or not. podman-setup.exe supports 2 new variables: MachineProvider (valid values are `wsl` and `hyperv`) and HyperVCheckbox (valid values are `0` and `1`) Installation creates the configuration file `99-podman-machine-provider.conf` under folder `%APPDATA\containers\containers.conf.d` with the selected machine provider Cirrus CI `win_installer_task` tests the installation with both `hyperv` and `wsl` and verifies the configuration. Uninstallation is tested too. Note that podman-setup.exe GUI doesn't allow to choose the provider yet. See https://github.com/containers/podman/issues/22492 Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
Windows Installer Build
Requirements
- Win 10+
- Golang
- MingW
- Dotnet SDK (if AzureSignTool)
- AzureSignTool (optional)
- WiX Toolset
Usage
.\build.ps1 <version> [prod|dev] [release_dir]
One off build (-dev output (default), unsigned (default))
.\build.ps1 4.2.0
Build with a pre-downloaded win release zip in my-download dir
.\build.ps1 4.2.0 dev my-download