|
|
#1 |
|
Junior Member
Join Date: Mar 2005
Posts: 5
|
I'm probably pushing my luck but here goes!
I want to change the Readme text on the closing page in the MUI installer. Is it possible to get this to work in a multilingual installer using the LangString function? As an example, I want the Readme text to be replaced with "Français" if I am in the French installer or "English" if I am in the English installer. I've tried the following without success: LangString MUI_FINISHPAGE_SHOWREADME_TEXTName ${LANG_ENGLISH} "English" LangString MUI_FINISHPAGE_SHOWREADME_TEXTName ${LANG_FRENCH} "Français" !define MUI_FINISHPAGE_SHOWREADME_TEXT "$(MUI_FINISHPAGE_SHOWREADME_TEXTName)" Any recommendations? Thanks! Ian |
|
|
|
|
|
#2 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
I'm not sure how this is easily possible because the Page settings are !defined before you use the !insertmacro MUI_LANGUAGE (which sets up your languages).
The only way you can get around that I can think of is that you do this... code: This should work, but there's probably a better way to do this... -Stu |
|
|
|
|
|
#3 | |
|
Major Dude
Join Date: Mar 2003
Posts: 571
|
Quote:
code: |
|
|
|
|
|
|
#4 |
|
Moderator
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
|
Ah right there you go
![]() Put your LangString calls under the !insertmacro MUI_LANGUAGE ... -Stu |
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Mar 2005
Posts: 5
|
Thanks guys!
Tried both methods... Second one worked! Great stuff! ![]() Ian |
|
|
|
|
|
#6 |
|
Junior Member
Join Date: Mar 2005
Posts: 5
|
Did the same thing for Web text:
!define MUI_FINISHPAGE_LINK "$(MY_WEB_TEXT)" ... ... !insertmacro MUI_LANGUAGE "English" !insertmacro MUI_LANGUAGE "Français" ... ... LangString MY_WEB_TEXT ${LANG_ENGLISH} "Visit us on the Web: http://www.mywebsite.com/" LangString MY_WEB_TEXT ${LANG_FRENCH} "Visitez-nous sur le Web: http://www.monsiteweb.com/" Works like a charm!!! Thanks again! Ian |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|