Browse Source

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 <fabianlars@fabianlars.de>
Catalin Andrei Cacuci 1 year ago
parent
commit
a440a3f9d8

+ 5 - 0
.changes/change-pr-10498.md

@@ -0,0 +1,5 @@
+---
+"tauri-bundler": patch:bug
+---
+
+Correct nsis pre-uninstall hook to post-uninstall

+ 1 - 1
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