From 34196e25c4ca2362bdfe1cf4598082aca71fe0a0 Mon Sep 17 00:00:00 2001 From: moka-ayumu <10963468+moka-ayumu@users.noreply.github.com> Date: Tue, 7 Nov 2023 22:08:30 +0900 Subject: [PATCH] fix(bundler): modify version in output file name when bundling wix (#8182) Co-authored-by: Lucas Fernandes Nogueira --- .changes/fix-wix-output-filename-version.md | 5 +++++ tooling/bundler/src/bundle/windows/msi/wix.rs | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 .changes/fix-wix-output-filename-version.md diff --git a/.changes/fix-wix-output-filename-version.md b/.changes/fix-wix-output-filename-version.md new file mode 100644 index 000000000000..ac165855d4df --- /dev/null +++ b/.changes/fix-wix-output-filename-version.md @@ -0,0 +1,5 @@ +--- +"tauri-bundler": 'patch:bug' +--- + +Use original version string on WiX output file name. \ No newline at end of file diff --git a/tooling/bundler/src/bundle/windows/msi/wix.rs b/tooling/bundler/src/bundle/windows/msi/wix.rs index b7dd4dfbb6f2..04cca3ad4e93 100644 --- a/tooling/bundler/src/bundle/windows/msi/wix.rs +++ b/tooling/bundler/src/bundle/windows/msi/wix.rs @@ -807,7 +807,8 @@ pub fn build_wix_app_installer( "*.wixobj".into(), ]; let msi_output_path = output_path.join("output.msi"); - let msi_path = app_installer_output_path(settings, &language, &app_version, updater)?; + let msi_path = + app_installer_output_path(settings, &language, settings.version_string(), updater)?; create_dir_all(msi_path.parent().unwrap())?; info!(action = "Running"; "light to produce {}", display_path(&msi_path));