Using String Entries in Scripts

InstallShield 2016

You can use string identifiers in your script in place of any value that accepts a string literal. When the custom action is executed, the installation replaces the string identifier with the corresponding string value for the language in which the installation is running.

String identifiers must follow an at symbol (@) in your script. The Select String dialog box lets you browse the list of string entries in your project. It also lets you modify string entries for the default language before inserting the selected string identifier into your script.

For example, assuming your project contains a string identifier called MSG_ACTION_SUCCEEDED, you could display its value in a message box as demonstrated below:

   szMsg = @MSG_ACTION_SUCCEEDED;

   nType = INFORMATION;

   MessageBox (szMsg, nType);

See Also