arfinator853
14th March 2005 00:37 UTC
function on every page
I want a function to occur on every page. So far I have this, which is working for the liscence page and custom pages, but not any others:
!define MUI_PAGE_LICENSE_FUNCTION helpbutton
!define MUI_PAGE_COMPONENTS_FUNCTION helpbutton
!define MUI_PAGE_DIRECTORY_FUNCTION helpbutton
!define MUI_PAGE_INSTFILES_FUNCTION helpbutton
!define MUI_PAGE_FINISH_FUNCTION helpbutton
>
Does anybody have any ideas?
arfinator853
14th March 2005 05:26 UTC
*bump*
kichik
15th March 2005 18:05 UTC
Those are undocumented defines. Don't use them. Use the defines you need, according to the MUI readme.
arfinator853
16th March 2005 00:05 UTC
I can't find in the readme how to have a function called on those bult-in pages.
Components
Directory
InstFiles
I have it working on all of the other pages. But one other problem like this. On the first custom page, I have it declared like I have all of th other custom pages, but it won't show up. So you all know the function is the HelpButton function by DrO.
Thanks!
Afrow UK
16th March 2005 15:49 UTC
Use !define MUI_PAGE_CUSTOMFUNCTION_[X] "myFunc" where [X] is PRE, SHOW, or LEAVE. Place the define before you insert the page macro.
-Stu