From dfb33d1ca11418c33aa291c697b43510472efff1 Mon Sep 17 00:00:00 2001 From: joostverburg Date: Wed, 12 Mar 2003 15:20:22 +0000 Subject: [PATCH] UpgradeDLL - Set overwrite to ON after inserting git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@2286 212acab6-be3b-0410-9dea-997c60f758d6 --- Docs/src/usefulfunc.but | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/Docs/src/usefulfunc.but b/Docs/src/usefulfunc.but index 9ffa6068..27a0b36a 100644 --- a/Docs/src/usefulfunc.but +++ b/Docs/src/usefulfunc.but @@ -416,8 +416,9 @@ \c ; \c ; !define UPGRADEDLL_NOREGISTER if you want to upgrade a DLL which cannot be registered \c ; -\c ; Note that this macro sets overwrite to TRY. Change it back to whatever you want after -\c ; you insert the macro. +\c ; Note that this macro sets overwrite to ON (the default) when it has been inserted. +\c ; If you are using another setting, set it again after inserting the macro. +\c \c \c !macro UpgradeDLL LOCALFILE DESTFILE \c @@ -514,6 +515,12 @@ \c \c "end_${LOCALFILE}:" \c +\c ;------------------------ +\c ;Set overwrite to default +\c ;(was set to TRY above) +\c +\c SetOverwrite on +\c \c !macroend \H{morefuncs} More