Archive: get one licence file per language used


get one licence file per language used
Hello,

I am quite new to NSIS so please be indulgent if my question seems to be a newbe question. I search over the net and the forums, but I did not find any answer to my problem.

My problem is the following:
how do I select the licence file in function of the language the user selected in the MUI_LANGDLL_DISPLAY?

In my case, I have 3 licence files: fr_license.txt, en_license.txt, ar_license.txt and the user have the choice among arabic, english and french during installation.
what I want to do is to use the file in function of the selected language (ex: fr_license.txt if french is selected).

Any answer is welcomed, even if it is just a link to a web page I missed during my previous search.

thanks


Assuming you are using b4 or later, you need to create a license LangString using LicenseLangString and specify it as the license. You can find an example in the following thread:

http://forums.winamp.com/showthread....hlight=license

If you are not using the MUI, replace `!insertmacro MUI_PAGE_LICENSE' with `LicenseData'.