Old 23rd May 2004, 17:53   #1
premm
Junior Member
 
Join Date: Dec 2003
Posts: 6
Different licence files for multiple languages

I've a big problem getting my script running with
multible licence files, please have a look at the
attached script.

Thank you very much
Mario
Attached Files
File Type: nsi calcon_sit.nsi (6.0 KB, 274 views)
premm is offline   Reply With Quote
Old 23rd May 2004, 18:07   #2
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
You don't have to use LicenseData, you should use the language string as parameter for MUI_PAGE_LICENSE
Joost Verburg is offline   Reply With Quote
Old 25th May 2004, 21:35   #3
premm
Junior Member
 
Join Date: Dec 2003
Posts: 6
first off all thank you for your great Modern GUI.

But I've still problems getting this to work ;(

the following makes no sence

insertmacro MUI_PAGE_LICENSE "${LANG_ENGLISH}"

and this is not working

!insertmacro MUI_PAGE_LICENSE "${LANG_SWEDISH}licence.txt"

is it possible do give some code?

Thank you
Mario
premm is offline   Reply With Quote
Old 25th May 2004, 21:42   #4
deguix
Major Dude
 
deguix's Avatar
 
Join Date: Dec 2002
Location: Everett - MA, USA
Posts: 1,354
Send a message via ICQ to deguix
Seeing this below you'll get where you want (at least a part):

code:
!ifdef LANG_ENGLISH
!insertmacro MUI_PAGE_LICENSE "licenceENG.txt"
!else ifdef LANG_SWEDISH
!insertmacro MUI_PAGE_LICENSE "licenceSWE.txt"
!else ifdef LANG_GERMAN
!insertmacro MUI_PAGE_LICENSE "licenceGER.txt"
!else
!insertmacro MUI_PAGE_LICENSE "licenceOthers.txt"
!endif


My Wiki Pages

Working now on:
New projects. (language: any)
deguix is offline   Reply With Quote
Old 26th May 2004, 06:48   #5
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
If you want to include multiple languages in your installer you should use a license language string as parameter for MUI_PAGE_LICENSE. See LicenseLangString in the users manual.
Joost Verburg is offline   Reply With Quote
Old 17th September 2007, 23:03   #6
beaver86
Junior Member
 
Join Date: Sep 2007
Location: Where the streets have no name...
Posts: 2
Example script

I don't know where to put:
code:
!ifdef LANG_ENGLISH
!insertmacro MUI_PAGE_LICENSE "licenceENG.txt"
!else ifdef LANG_SWEDISH
!insertmacro MUI_PAGE_LICENSE "licenceSWE.txt"
!else ifdef LANG_GERMAN
!insertmacro MUI_PAGE_LICENSE "licenceGER.txt"
!else
!insertmacro MUI_PAGE_LICENSE "licenceOthers.txt"
!endif


With that - my license page is excluded from the setup.

Could somebody post a script example . or should i use languages.nsi for reference?

Thanks
beaver86 is offline   Reply With Quote
Old 18th September 2007, 02:29   #7
beaver86
Junior Member
 
Join Date: Sep 2007
Location: Where the streets have no name...
Posts: 2
I think i got it...

Sorry for the post...

MultiLanguage.nsi is everything i need...

Cheers
beaver86 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