I want to have all CustomMessages
in language files (extension isl
). Also, some of the messages contain preprocessor constants, e.g.
ALREADY_INSTALLED={#MyAppName} is already installed on this computer.
The message should be displayed like this:
"My-really-nice-App is already installed on this computer"
But what I get is:
"{#MyAppName} is already installed on this computer."
The following works like a charm when I have the code, the message defined in a [CustomMessages]
-topic and #define MyAppName
in the same iss file:
MsgBox(ExpandConstant('{cm:ALREADY_INSTALLED}'), ...);
Any clues?