spiegel_podman/contrib/win-installer
Mario Loriedo 81250cc5a9 Visual Studio BuildTools as a MinGW alternative
Building the MSI hook on Windows
(`contrib/win-installer/podman-msihooks/check.c`)
currently requires MinGW. This commit updates the build
script so that, when MinGW is absent but the C compiler
included in Visual Studio BuildTools is installed, the
latter is used to build the MSI hook.

Other than that, `winmake.ps1` has a new `installertest`
target to run the Windows installer tests that are
currently verified by Cirrus CI.

Signed-off-by: Mario Loriedo <mario.loriedo@gmail.com>
2024-07-08 17:18:15 +02:00
..
podman-msihooks Add Hyper-V option in windows installer 2024-05-29 12:09:37 +02:00
resources Windows Installer: switch to wix5 2024-07-05 15:28:19 -04:00
build-hooks.ps1 Visual Studio BuildTools as a MinGW alternative 2024-07-08 17:18:15 +02:00
build.ps1 Visual Studio BuildTools as a MinGW alternative 2024-07-08 17:18:15 +02:00
burn.wxs Windows Installer: switch to wix5 2024-07-05 15:28:19 -04:00
check.ps1 Add new windows installer and build 2022-09-06 16:12:09 -05:00
podman-setup.wixproj Windows Installer: switch to wix5 2024-07-05 15:28:19 -04:00
podman-theme.wxl Windows Installer: switch to wix5 2024-07-05 15:28:19 -04:00
podman-theme.xml Windows Installer: switch to wix5 2024-07-05 15:28:19 -04:00
podman-ui.wxs Windows Installer: switch to wix5 2024-07-05 15:28:19 -04:00
podman.sln Windows Installer: switch to wix5 2024-07-05 15:28:19 -04:00
podman.wixproj Windows Installer: switch to wix5 2024-07-05 15:28:19 -04:00
podman.wxs Windows Installer: switch to wix5 2024-07-05 15:28:19 -04:00
process-release.ps1 Windows Installer: switch to wix5 2024-07-05 15:28:19 -04:00
README.md Add new windows installer and build 2022-09-06 16:12:09 -05:00
test-installer.ps1 Visual Studio BuildTools as a MinGW alternative 2024-07-08 17:18:15 +02:00
welcome-install-dlg.wxs Windows Installer: switch to wix5 2024-07-05 15:28:19 -04:00

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