summaryrefslogtreecommitdiff
path: root/contrib/win-installer/build-msi.bat
diff options
context:
space:
mode:
authorOpenShift Merge Robot <openshift-merge-robot@users.noreply.github.com>2022-09-08 12:26:50 +0200
committerGitHub <noreply@github.com>2022-09-08 12:26:50 +0200
commitd729dd8c2e6556de10c4543c018fbebffa265a5e (patch)
treeb374d334aef07d3b699e4f4bdf3861de48206b75 /contrib/win-installer/build-msi.bat
parente46bcd72f8d6528dbafb1ad1b34abeb0177a8b77 (diff)
parent744878a71cb225fca6cf6b8f322539b717559614 (diff)
downloadpodman-d729dd8c2e6556de10c4543c018fbebffa265a5e.tar.gz
podman-d729dd8c2e6556de10c4543c018fbebffa265a5e.tar.bz2
podman-d729dd8c2e6556de10c4543c018fbebffa265a5e.zip
Merge pull request #15610 from n1hility/release-workflow
Introduce a new signed Windows installer with automated build process
Diffstat (limited to 'contrib/win-installer/build-msi.bat')
-rw-r--r--contrib/win-installer/build-msi.bat8
1 files changed, 8 insertions, 0 deletions
diff --git a/contrib/win-installer/build-msi.bat b/contrib/win-installer/build-msi.bat
new file mode 100644
index 000000000..28a77734d
--- /dev/null
+++ b/contrib/win-installer/build-msi.bat
@@ -0,0 +1,8 @@
+@if "%1" == "" (
+ @echo "usage: build-msi.bat <version>"
+ @exit /b 1
+)
+
+heat dir docs -var var.ManSource -cg ManFiles -dr INSTALLDIR -gg -g1 -srd -out pages.wxs || exit /b 1
+candle -ext WixUIExtension -ext WixUtilExtension -ext .\artifacts\PanelSwWixExtension.dll -arch x64 -dManSource="docs" -dVERSION="%1" podman.wxs pages.wxs podman-ui.wxs welcome-install-dlg.wxs || exit /b 1
+light -ext WixUIExtension -ext WixUtilExtension -ext .\artifacts\PanelSwWixExtension.dll .\podman.wixobj .\pages.wixobj .\podman-ui.wixobj .\welcome-install-dlg.wixobj -out podman.msi || exit /b 1