|
|
#1 |
|
Junior Member
Join Date: Mar 2012
Posts: 13
|
Load existing Language Strings into custom page.
Hello all..
I am trying to create a custom page and load already existing language strings into it. For example "MUI_TEXT_WELCOME_INFO_TITLE". I am using the following code, but it doesn't seem to work. code: This only displays: "$(MUI_WELCOMEPAGE_TITLE)" and "${MUI_WELCOMEPAGE_TEXT}". If I replace "${MUI_WELCOMEPAGE_TEXT}" with (as according to the manual) $(^MUI_TEXT_WELCOME_INFO_TEXT) it stays blank. Am I missing something? All I am trying to do is recreate the Welcome page but include a piece of text. Because as far as I can't include a custom text string into the welcome page? MUI_TEXT_WELCOME_INFO_TITLE *Some Custom Text* MUI_TEXT_WELCOME_INFO_TEXT Thanks in advanced, Ruud |
|
|
|
|
|
#2 |
|
Junior Member
Join Date: Mar 2012
Posts: 13
|
A different forum recommended to do the following, they said this should add a box to the welcome page. However it does not display anything
code: And the following created a new custom page (not adding to it). code: Both results are as expected and as described in the manual.. But maybe they have misquoted something? And there is a possibility to add text into the welcome page? (without editing the language files) Thanks, |
|
|
|
|
|
#3 |
|
Moderator
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
|
You have two mistakes:
1. You need to use MUI2.nsh if you are using nsDialogs (MUI.nsh uses old InstallOptions for its Welcome/Finish pages). 2. You don't need to do nsDialogs::Create/nsDialogs::Show; MUI2 already does that. Stu Need an installer? http://www.afrowsoft.co.uk |
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Mar 2012
Posts: 13
|
Thank you!
Can't believe I missed that. Thanks, Ruud |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|