Skip to content
⌘ NSIS Forum Archive

Some Multilanguage Questions

4 posts

HeReSY#

Some Multilanguage Questions

Hi,

I have three questions for Multilanguage support. I think it isn't needed to write three different threads. I use the MUI for creating the installer.

1) Is it possible to change the default folder when selecting a different language at the beginning of the installation.
I want to change the folder from c:\Program Files(x86)\German, when selecting german from the language menu, to c:\Program Files(x86)\Foreign, when selecting a different language.

2) How can I change the StartMenu. The same situation like in 1).

3) How can I change the license file when selecting a different language.

Thanks in advance

HeReSY
MSG#
1:
${If} ${LANG_GERMAN}
StrCpy $INSTDIR "$PROGRAMFILES\YourApp German"
${Else}
StrCpy $INSTDIR "$PROGRAMFILES\YourApp Foreign"
${EndIf} 
2: See above.

3: Google finds this very easily: http://forums.winamp.com/showthread.php?t=259423
Afrow UK#
Originally Posted by T.Slappy View Post
Is modifying the $INSTDIR with StrCpy safe?
Sure. $INSTDIR is special in that its value is validated when written to.

Stu