|
|
|
|
#1 | ||
|
Senior Member
Join Date: Jul 2008
Posts: 157
|
I would like to customize the MUI_WELCOMEPAGE_TEXT based on a function that I call in .onInit and which initializes some variables.
Every example that I saw so far, has the Quote:
I tried ignoring this fact by including such a variable (that is declared before !define MUI_WELCOMEPAGE_TEXT but initialized in .onInit) in the !define MUI_WELCOMEPAGE_TEXT but - not surprisingly, I receive the following compilation warning: Quote:
If so, how do I do this? Thanks! |
||
|
|
|
|
|
#2 |
|
Major Dude
Join Date: Jun 2001
Posts: 1,173
|
nope - but you can always use WM_SETTEXT to change the text of the control if you must
|
|
|
|
|
|
#3 |
|
M.I.A.
[NSIS Dev, Mod] Join Date: Oct 2001
Location: Israel
Posts: 11,337
|
Simply set it to a variable and set that variable in .onInit.
NSIS FAQ | NSIS Home Page | Donate $ "I hear and I forget. I see and I remember. I do and I understand." -- Confucius |
|
|
|
|
|
#4 | |
|
Senior Member
Join Date: Jul 2008
Posts: 157
|
Thank you Animaethe and kichik.
I ended up using the following approach and it works beautifully: Quote:
|
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|