convert to plug-in library and never unload so user variables are saved

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5843 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2008-12-12 19:27:02 +00:00
parent 608b642375
commit 06ab0c6314
6 changed files with 24 additions and 114 deletions

View file

@ -5,7 +5,6 @@
Name "Math Plugin Example"
OutFile "math.exe"
SetPluginUnload alwaysoff
ShowInstDetails show
XPStyle on
@ -29,11 +28,6 @@ Section "ThisNameIsIgnoredSoWhyBother?"
DetailPrint "'$R5'"
DetailPrint "'$R6'"
DetailPrint "'$R7'"
; last plugin call must not have /NOUNLOAD so NSIS will be able to delete the temporary DLL
SetPluginUnload manual
; do nothing
Math::Script ""
SectionEnd
; eof