deprecate SetPluginUnload and /NOUNLOAD
plug-ins are now responsible to keeping themselves loaded using the new api git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@5855 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
d04cece9be
commit
5ac5b3f95b
24 changed files with 72 additions and 110 deletions
|
@ -158,7 +158,7 @@ Macros and conversion functions for InstallOptions
|
|||
|
||||
!macro INSTALLOPTIONS_INITDIALOG FILE
|
||||
|
||||
InstallOptions::initDialog /NOUNLOAD "$PLUGINSDIR\${FILE}"
|
||||
InstallOptions::initDialog "$PLUGINSDIR\${FILE}"
|
||||
|
||||
!macroend
|
||||
|
||||
|
|
|
@ -30,7 +30,7 @@ Function ShowCustom
|
|||
; Initialise the dialog but don't show it yet
|
||||
MessageBox MB_ICONQUESTION|MB_YESNO|MB_DEFBUTTON2 "Test the right-to-left version?" IDNO +2
|
||||
WriteINIStr "$PLUGINSDIR\test.ini" "Settings" "RTL" "1"
|
||||
InstallOptions::initDialog /NOUNLOAD "$PLUGINSDIR\test.ini"
|
||||
InstallOptions::initDialog "$PLUGINSDIR\test.ini"
|
||||
; In this mode InstallOptions returns the window handle so we can use it
|
||||
Pop $0
|
||||
; Now show the dialog and wait for it to finish
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue