Skip to content
⌘ NSIS Forum Archive

Error with MUI_PAGE_HEADER_TEXT

6 posts

Isolated#

Error with MUI_PAGE_HEADER_TEXT

Hi!

I had to reinstall my system and so I had to get the latest CVS version. Now I have to update my script again so that it can be used with the new cvs version.

I used MUI_HEADER_TEXT before here:

Function InfoAbfrage
;affects $6:Gateway IP(getGatewayIP),$8:OS Version(makeConfigIni),$9:Wohnheim Name(here)
!insertmacro MUI_HEADER_TEXT "In welchem Wohnheim wohnst du?" "Schritt 2 von 2"
...
FunctionEnd
Now I want to use MUI_PAGE_HEADER_TEXT and MUI_PAGE_HEADER_SUBTEXT as suggested in the ModernUI Readme but I always get an error message that these macros were not found. MUI_HEADER_TEXT is still working...

I tried to insert these two in the function above (where "!insertmacro MUI_HEADER_TEXT" was) and in the pages config part, but neither did the job.

I'm using CVS from today (5.11.2003)...

btw: In the readme there is MUI_HEADER_TEXT no more so I think it's deprecated, but it's working and in the InstallOptions Documentation there is still MUI_HEADER_TEXT used.

Thank you... (Phew... It's really hard to get it working again. You are making too many changes 🙂)
kichik#
It's a define, not a macro 😉

Both of them are described under:

To configure a page, you can define the page settings before inserting a page macro.
Isolated#
Ohh.... OK. Stupid again.🧟

Thank you.

So is "!insertmacro MUI_HEADER_TEXT" deprecated or may I use it furthermore?
kichik#
I think it's not, because you can't do it any other way for custom pages. Joost should know the definite answer for that.
Joost Verburg#
You can use the MUI_HEADER_TEXT macro to change the header text in a section or custom page function.