Archive: CustomGuiInit


CustomGuiInit
ive added a CustomGuiInit but it gives me the error below i've added:
!define MUI_CUSTOMFUNCTION_ONGUIINIT CustomGuiInit
and tried to put the Function every were but it still gives me the error :(



1 warning:
install function "CustomGuiInit" not referenced - zeroing code (66-69) out


Shouldn't be:
!define MUI_CUSTOMFUNCTION_GUIINIT "TheFunction"


did the trick thanks :) the docs sayed:
!define MUI_CUSTOMFUNCTION_ONGUIINIT myGuiInit

better update to the latest CVS build :)


oh!, this:

From the Modern UI Readme:
Example:

!define MUI_CUSTOMFUNCTION_ONGUIINIT myGuiInit

Function myGUIInit
...your own code...
FunctionEnd
[edit]
I have 3 weeks that I didn't update my Nsis CVS.
!define MUI_CUSTOMFUNCTION_ONGUIINIT
doesn't work.
[/edit]

That was an error in the docs. Has been fixed :D