mirror of
https://github.com/podman-container-tools/podman.git
synced 2026-10-15 02:17:43 +00:00
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> |
||
|---|---|---|
| .. | ||
| podman-msihooks | ||
| resources | ||
| build-hooks.ps1 | ||
| build.ps1 | ||
| burn.wxs | ||
| check.ps1 | ||
| podman-setup.wixproj | ||
| podman-theme.wxl | ||
| podman-theme.xml | ||
| podman-ui.wxs | ||
| podman.sln | ||
| podman.wixproj | ||
| podman.wxs | ||
| process-release.ps1 | ||
| README.md | ||
| test-installer.ps1 | ||
| welcome-install-dlg.wxs | ||
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