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
This commit is contained in:
parent
982b73b2eb
commit
dfb33d1ca1
1 changed files with 9 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue