Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 7th April 2009, 16:00   #1
jadephantom
Junior Member
 
Join Date: Apr 2009
Location: München
Posts: 2
Choosing Language with MUI_LANGDLL_DISPLAY and also License Text

Hello at all.

My Problem is that Im unable to show the License for the Selected Language
The User get's shown the Box for selecting a Language.
After choosing a Language the Interface is shown in the Selected Language but at the License Page no Text shows up.


First im defining the license strings:

;English
LicenseLangString license ${LANG_ENGLISH} EULA_EN.rtf

;German
LicenseLangString license ${LANG_GERMAN} EULA_DE.rtf

And then I set it for the License Page
!insertmacro MUI_PAGE_LICENSE $(license)

However no Text appears. Has Annyone an Idea?
jadephantom is offline   Reply With Quote
Old 7th April 2009, 19:49   #2
jadephantom
Junior Member
 
Join Date: Apr 2009
Location: München
Posts: 2
Solution

Okay I found the Error.
It was the Wrong Order.

First I have to define the Pages. And there is also the macro call for the License Page.
!insertmacro MUI_PAGE_LICENSE $(license)
Then I have to insert the Languages
!insertmacro MUI_LANGUAGE "English"
And then I can set the LicenseFile
LicenseLangString license ${LANG_ENGLISH} EULA_EN.rtf

For also having a different Name this is in my .onInit Function
!insertmacro MUI_LANGDLL_DISPLAY
StrCmp $LANGUAGE ${LANG_ENGLISH} 0 +2
StrCpy $AppDesc "English AppName"
StrCmp $LANGUAGE ${LANG_GERMAN} 0 +2
StrCpy $AppDesc "English AppName"

Name $AppDesc

Perhaps this will help someone.
jadephantom is offline   Reply With Quote
Old 11th February 2011, 18:02   #3
gmagana
Junior Member
 
Join Date: Feb 2011
Posts: 1
Indeed it has solved exactly my problem. Your post should be more visible!

Thanks!
gmagana is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump