Maverick
Maverick

Reputation: 1187

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

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

Regards.

Upvotes: 6

Views: 4418

Answers (1)

Martin Prikryl
Martin Prikryl

Reputation: 202118

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.

Upvotes: 11

Related Questions