How to show language-dependent text
CreateInstall allows you to define a special text for each language that you use in your installation. For example, you would like to show the dialog text in the same language as the user has selected.
Insert the Language Resources commands for each language at the beginning of the Installation Script. Specify the language name (in English) in the command, and then add the required variables with the appropriate text. These variables must have the same name in the each command.
Language: English mytext = This is an English text. another command for German Language: German mytext = This is a German text.
Now you can use defined variables in dialog boxes and other commands. The text of variables is automatically changed when the user changes the installation language.
Eonza automation software - free, open source cross-platform program for easy creation and management of scripts.