podman/contrib/win-installer
Mario Loriedo fb4ddf86cc Add Hyper-V option in windows installer
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>
2024-05-29 12:09:37 +02:00
..
podman-msihooks Add Hyper-V option in windows installer 2024-05-29 12:09:37 +02:00
resources Add Hyper-V option in windows installer 2024-05-29 12:09:37 +02:00
README.md Add new windows installer and build 2022-09-06 16:12:09 -05:00
build-burn.bat Add new windows installer and build 2022-09-06 16:12:09 -05:00
build-hooks.bat Switch to C based msi hooks for win installer 2023-01-05 01:49:49 -06:00
build-msi.bat Add new windows installer and build 2022-09-06 16:12:09 -05:00
build.ps1 do not require policy.json 2024-03-13 09:07:51 -05:00
burn.wxs Add Hyper-V option in windows installer 2024-05-29 12:09:37 +02:00
check.ps1 Add new windows installer and build 2022-09-06 16:12:09 -05:00
podman-theme.wxl Add new windows installer and build 2022-09-06 16:12:09 -05:00
podman-theme.xml Add new windows installer and build 2022-09-06 16:12:09 -05:00
podman-ui.wxs Add new windows installer and build 2022-09-06 16:12:09 -05:00
podman.wxs Add Hyper-V option in windows installer 2024-05-29 12:09:37 +02:00
process-release.ps1 do not require policy.json 2024-03-13 09:07:51 -05:00
welcome-install-dlg.wxs Add Hyper-V option in windows installer 2024-05-29 12:09:37 +02:00

README.md

Windows Installer Build

Requirements

  1. Win 10+
  2. Golang
  3. MingW
  4. Dotnet SDK (if AzureSignTool)
  5. AzureSignTool (optional)
  6. 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