Archive: Multi-Language et al


Multi-Language et al
Hello NSIS specialists,

we want to use NSIS for our layout software TARGET 3001!. We have read a lot of your stuff and think your installer is the right one for us. Some questions could not be answered yet:

1) If we have one multi language installer exe, can we take different actions depending on the language the user selected at runtime (during install)? E.g. copy only French files, if the user selected this language.

2) Can the user determine whether the install is for all users on the machine or only for him?

3) How do others implement their programs to update themselves? Is there any possibility in NSIS?

4) (General) Where can I find a description, what directories and registry entries to use for the different purposes and for the different Windows versions?

Many questions, I know. Any comments welcome!

Thanks a lot, HaraldF


1) Yes, you can check the value of $LANGUAGE and compare it to e.g. ${LANG_FRENCH}.

2) You can create a custom page to do this using InstallOptions or nsDialogs. The Examples\makensis.nsi script creates a custom page with two radio buttons which you can use as a base.

3) You can use the NSISdl or inetc plug-ins to download files. To manage updates you could have an INI file on a web server of which you download and read from using ReadINIStr.

4) See documentation for constants.

Stu


Hello Afrow UK,

thanks for your answers, they are very helpful!

HaraldF