feat(install): generate WiX sources for MSI packaging
This commit is contained in:
1 parent
e63ec85809
commit
fd9e8673c0
7 files changed
+182
-25
No files matched your search
+3
-3
@@ -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",
|
||||
|
||||
Reference in new issue
Block a user