feat(install): generate WiX sources for MSI packaging
VoidBuildSystem CI / build-and-test-gcc16 (push) Failing after 12s
VoidBuildSystem CI / signing-openssl-gcc16 (push) Failing after 17s
VoidBuildSystem CI / sanitizers-gcc16 (push) Failing after 8s
VoidBuildSystem CI / wine-windows-gcc16 (push) Failing after 54s

This commit is contained in:
faumaray committed 2026-12-05 10:54:26 +03:00
1 parent e63ec85809
commit fd9e8673c0
7 files changed
+182 -25

No files matched your search

+3 -3
View File
@@ -1913,9 +1913,9 @@ int execute_install_command(const InstallCmdOptions &opts) {
iopts.bundle_runtime_dependencies = opts.bundle_dependencies;
if (opts.archive_format_arg != "tar" && opts.archive_format_arg != "sh" &&
opts.archive_format_arg != "zip" && opts.archive_format_arg != "deb" &&
opts.archive_format_arg != "rpm") {
opts.archive_format_arg != "rpm" && opts.archive_format_arg != "wix") {
std::cerr << "vbs install: unsupported --archive-format '" << opts.archive_format_arg
<< "' (expected tar, sh, zip, deb or rpm)\n";
<< "' (expected tar, sh, zip, deb, rpm or wix)\n";
return 2;
}
if (opts.archive_arg && !opts.archive_arg->empty()) {
@@ -3109,7 +3109,7 @@ int main(int argc, char **argv) {
.option("--archive", "", "Write a deterministic installer archive of the prefix",
install_opts.archive_arg)
.option_default("--archive-format", "",
"Installer archive format: tar (default), sh, zip, deb or rpm",
"Installer archive format: tar (default), sh, zip, deb, rpm or wix",
install_opts.archive_format_arg, "tar")
.option("--signing-key", "",
"Ed25519 seed file; signs the archive and writes .sha256/.sig/.pub",