Old 11th February 2008, 10:07   #1
Pussyfoot
Junior Member
 
Join Date: Feb 2008
Posts: 2
License file based on a language and a sub language

Hi, I've been really impressed with NSIS and this is the first problem that I've come across that I simply can't find an answer for.

I want to show a different license file for UK English and US English,

I've tried doing it like this

LicenseLangString license 2057 "license UK.rtf"
LicenseLangString license 1033 "license US.rtf"
LicenseLangString license ${LANG_GERMAN} "license G.rtf"
LicenseLangString license ${LANG_SPANISH} "license Sp.rtf"
LicenseLangString license ${LANG_ITALIAN} "license I.rtf"
LicenseLangString license ${LANG_FRENCH} "license FR.rtf"


but this causes all text in the installer to go blank when the language is set to 2057 (which is English UK) and I also get lots of warnings like this:

LangString "MUI_TEXT_WELCOME_INFO_TITLE" is not set in the language table of language 2057.

I assume this is because LicenseLangString sets the language variable to 2057. What I really want it to do is just show a different license file for that language and still use US English for the rest of the installer.

Anyone have any ideas how I can get round this problem?

Any help would be greatly appreciated.

Thanks
Pussyfoot is offline   Reply With Quote
Old 11th February 2008, 19:29   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
You have to load a language file for English UK, if you wish to easily use a different license file for it. If not, you can load it from an external file.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Old 13th February 2008, 14:19   #3
Pussyfoot
Junior Member
 
Join Date: Feb 2008
Posts: 2
Thanks kichik.
Pussyfoot 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