inno-setup

How to add CRLF/line break in Inno Setup custom message


Can I add CRLF (carriage return + line feed) in [CustomMessages] section?

Regards.


Solution

  • The documentation on the [Messages] section says:

    "%n" creates a line break.


    See for example how the standard SetupAppRunningError is defined in the Default.isl:

    SetupAppRunningError=Setup has detected that %1 is currently running.%n%nPlease close all instances of it now, then click OK to continue, or Cancel to exit.