feat(install): msi installer format compiled from the WiX source
VoidBuildSystem CI / 3A · Linux test (debug) (push) Canceled after 0s
VoidBuildSystem CI / 3A · Linux test (relwithdebinfo) (push) Canceled after 0s
VoidBuildSystem CI / 3A · Linux test (sanitizers) (push) Canceled after 0s
VoidBuildSystem CI / 3B · Windows Wine test (debug) (push) Canceled after 0s
VoidBuildSystem CI / 3B · Windows Wine test (relwithdebinfo) (push) Canceled after 0s
VoidBuildSystem CI / 4A2 · VBS installers (linux target) (push) Canceled after 0s
VoidBuildSystem CI / 4A2 · VBS installers (windows target) (push) Canceled after 0s
VoidBuildSystem CI / 5 · Release (push) Canceled after 0s
VoidBuildSystem CI / 1 · Requirements (push) Successful in 3s
VoidBuildSystem CI / 2A · Linux build (debug) (push) Successful in 4m32s
VoidBuildSystem CI / 2A · Linux build (sanitizers) (push) Successful in 4m57s
VoidBuildSystem CI / 2A · Linux build (relwithdebinfo) (push) Successful in 4m44s
VoidBuildSystem CI / 2B · Windows Wine build (debug) (push) Successful in 1m45s
VoidBuildSystem CI / 2B · Windows Wine build (relwithdebinfo) (push) Successful in 3m11s

'vbs install --archive-format msi' renders the WiX v3 source with
absolute file sources and compiles it with wixl (msitools) or the WiX
toolset (candle/light) when available, failing explicitly otherwise.
The .wxs intermediate is removed afterwards.

Verified locally: wixl produces a valid MSI (OLE compound file, File
table with the installed binaries and correct summary information),
and the install suite passes with msitools on PATH. CI adds msi to the
installer sets when the tooling exists.
This commit is contained in:
faumaray committed 2026-12-06 16:31:17 +03:00
1 parent 6b9074241f
commit ff562acc1a
4 files changed
+129 -12

No files matched your search

+12 -2
View File
@@ -317,7 +317,12 @@ jobs:
echo "retrying vbs install (${fmt}) in '${build_dir}'..." >&2
done
}
for fmt in tar sh zip deb rpm wix dmg nuget; do
for fmt in tar sh zip deb rpm wix msi dmg nuget; do
if [ "${fmt}" = "msi" ] && ! command -v wixl >/dev/null 2>&1 &&
! command -v candle >/dev/null 2>&1; then
echo "skipping msi: wixl or the WiX toolset is not installed"
continue
fi
case "${fmt}" in
tar) ext=tar ;;
wix) ext=wxs ;;
@@ -388,7 +393,12 @@ jobs:
prefix="$(mktemp -d)"
mkdir -p "${out}"
build_dir="build/selfhost-windows-${GITHUB_RUN_ID}-${GITHUB_RUN_ATTEMPT:-1}"
for fmt in tar zip nuget wix; do
for fmt in tar zip nuget wix msi; do
if [ "${fmt}" = "msi" ] && ! command -v wixl >/dev/null 2>&1 &&
! command -v candle >/dev/null 2>&1; then
echo "skipping msi: wixl or the WiX toolset is not installed"
continue
fi
case "${fmt}" in
tar) ext=tar ;;
wix) ext=wxs ;;