From 1948ae53fdcd0ef99ef302066792d779a62c5065 Mon Sep 17 00:00:00 2001 From: Lucas Fernandes Nogueira Date: Sun, 15 May 2022 05:02:19 -0700 Subject: [PATCH] fix(bundler): only reinstall missing or != version files, closes #4122 (#4125) --- .changes/fix-wix-reinstallmode.md | 5 +++++ tooling/bundler/src/bundle/windows/templates/main.wxs | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) create mode 100644 .changes/fix-wix-reinstallmode.md diff --git a/.changes/fix-wix-reinstallmode.md b/.changes/fix-wix-reinstallmode.md new file mode 100644 index 000000000..df69e710e --- /dev/null +++ b/.changes/fix-wix-reinstallmode.md @@ -0,0 +1,5 @@ +--- +"tauri-bundler": patch +--- + +Change the MSI reinstall mode so it only reinstall missing or different version files. diff --git a/tooling/bundler/src/bundle/windows/templates/main.wxs b/tooling/bundler/src/bundle/windows/templates/main.wxs index 3c0f76c9a..1a3b61ccd 100644 --- a/tooling/bundler/src/bundle/windows/templates/main.wxs +++ b/tooling/bundler/src/bundle/windows/templates/main.wxs @@ -26,8 +26,8 @@ SummaryCodepage="!(loc.TauriCodepage)"/> - - + + {{#if allow_downgrades}}