Do not call SetBg from a section

git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@3159 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
kichik 2003-11-18 14:30:43 +00:00
parent 73514d3f18
commit e9dcc4f78b

View file

@ -24,7 +24,7 @@ Notes
* This plugin requires NSIS 2.0b4 and above. * This plugin requires NSIS 2.0b4 and above.
* Do not call SetBg (which creates the window) from a section unless you're going to destroy it from a section. * Do not call SetBg (which creates the window) from a section or a function called by a section.
* Never use /NOUNLOAD in .onInstSuccess and .onInstFailed. Failing to do so will cause the installer to crash. * Never use /NOUNLOAD in .onInstSuccess and .onInstFailed. Failing to do so will cause the installer to crash.
This means you should not call Destroy from .onInstSuccess or .onInstFailed. This means you should not call Destroy from .onInstSuccess or .onInstFailed.