Archive: A Stupid Macro Question


A Stupid Macro Question
Hello,

I've been trying for the last couple hours to get this script to work.

I've been trying to change the Welcome Page main text. I'm using Expeirience UI, and in the documentation it tells to use this macro..

XPUI_WELCOMEPAGE_TEXT

So in my installer script I insert..


!insertmacro XPUI_WELCOMEPAGE_TEXT "What I want as the text"


When I compile the script I get the error saying:

!insertmacro: macro named "XPUI_WELCOMEPAGE_TEXT" not found!



I have no idea why it's not finding it..I must be doing something wrong...here are the files I have included
!include "XPUI.nsh"
!include LogicLib.nsh
!include "DotNET.nsh"

Any Ideas anyone?

It's !define not !insertmacro and it goes before !insertmacro XPUI_PAGE_WELCOME.

Stu