From a440a3f9d85376d994f2ba904b1ae0828c5a0fbb Mon Sep 17 00:00:00 2001 From: Catalin Andrei Cacuci <52856673+cataand@users.noreply.github.com> Date: Mon, 5 Aug 2024 19:15:45 +0200 Subject: [PATCH] fix(bundler): Correct nsis pre-uninstall hook to post-uninstall (#10498) * fix(bundler): Correct nsis pre-uninstall hook to post-uninstall * Create change-pr-10498.md * Update change-pr-10498.md [skip ci] --------- Co-authored-by: Fabian-Lars --- .changes/change-pr-10498.md | 5 +++++ tooling/bundler/src/bundle/windows/templates/installer.nsi | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changes/change-pr-10498.md diff --git a/.changes/change-pr-10498.md b/.changes/change-pr-10498.md new file mode 100644 index 000000000..92c9274cf --- /dev/null +++ b/.changes/change-pr-10498.md @@ -0,0 +1,5 @@ +--- +"tauri-bundler": patch:bug +--- + +Correct nsis pre-uninstall hook to post-uninstall diff --git a/tooling/bundler/src/bundle/windows/templates/installer.nsi b/tooling/bundler/src/bundle/windows/templates/installer.nsi index 7e0153627..92e0b17dc 100644 --- a/tooling/bundler/src/bundle/windows/templates/installer.nsi +++ b/tooling/bundler/src/bundle/windows/templates/installer.nsi @@ -777,7 +777,7 @@ Section Uninstall ${EndIf} !ifmacrodef NSIS_HOOK_POSTUNINSTALL - !insertmacro NSIS_HOOK_PREUNINSTALL + !insertmacro NSIS_HOOK_POSTUNINSTALL !endif ; Auto close if passive mode