DrDan
25th June 2007 15:14 UTC
Why would a !define be ignored?
What would be the reasons that a
!define
would be ignored?
I want to
!define MUI_COMPONENTSPAGE_SMALLDESC
in my installer and I have placed it above lines like the following:
# Define the "subtext" for the page that follows.
!define MUI_PAGE_HEADER_SUBTEXT "<<Text defined by me>>"
!define MUI_COMPONENTSPAGE_TEXT_TOP "<<Text defined by me>>"
!define MUI_COMPONENTSPAGE_SMALLDESC
!insertmacro MUI_PAGE_COMPONENTS
but nothing seems to happend.
Any thoughts?
However, it seems to work in small test installers I have created :(
Afrow UK
25th June 2007 15:30 UTC
Works fine for me. With it you get the description box under the tree view control rather than to the right.
Stu
DrDan
26th June 2007 10:44 UTC
As I said originially...
... it sometimes works for me (in small example/test installers), but not in the main installer I am working on :confused: :(
darthvader
26th June 2007 11:19 UTC
Try defining it at the top of the main file(.nsi file). Could you paste the rest of the code above these definitions? I am suspecting some other definition might be overriding this.
DrDan
26th June 2007 16:22 UTC
Still no luck
I have tried moving
!define MUI_COMPONENTSPAGE_SMALLDESC
around in my script, but it doesn't seem to make any difference :(
kichik
26th June 2007 17:33 UTC
MUI_COMPONENTSPAGE_SMALLDESC is an interface setting and must therefore be set before inserting any page macro.
Interface settings should be set before inserting page macros. Page interface settings apply to all pages of a certain type.
DrDan
27th June 2007 11:28 UTC
Thanks for the reminder Kichik
It works now :D
I had to put that define immediately above the first page macro.