![]() |
How to new line in MUI_WELCOMEPAGE_TEXT
I used this code to add copyright on welcome page:
!define MUI_WELCOMEPAGE_TEXT "c ${year} ${developer}\r\n\r\n$(MUI_${MUI_PAGE_UNINSTALLER_PREFIX}TEXT_WELCOME_INFO_TEXT)" It worked just fine until I have upgraded to recent version (from 2.28 to 2.39). Now I see only my copyright text and "This wizard will guide you through the installation of $(^NameDA)." (English.nsh) Text after "$\r$\n$\r$\n" is dropped. How can I fix this? |
You upgraded to MUI2, right? You should use $\r$\n for a new line.
|
Joost, thanks for reply
I have tried your solution and the result: Now I see only copyright text - no "This wizard will guide..." Also I don't use MUI2 - just bumped NSIS version. NSI script is the same as before. Am I doing something wrong? |
With MUI1, \r\n should work. Can you send me a minimal version of the script, which will compile on my system?
|
Sorry to keep you waiting.
Here is the script: code: |
Right. You're using internal MUI variables, so you cannot really expect such a thing to always be backwards compatible :)
The internal language string no longer contains the newlines in \r\n format which is used by MUI1. If you upgrade to MUI2 and use $\r$\n for the newlines, it should work again. |
How can I disable this output from makensis.exe?
---- File 'C:\Program Files\NSIS\Unicode\nsisconf.nsh' has a BOM marked as UTF-16LE. Opening 'C:\Program Files\NSIS\Unicode\nsisconf.nsh' as UTF-16LE. Opening 'C:\Users\tolan.ALAWAR\AppData\Roaming\nsisconf.nsh' as UTF-16LE. File 'bigtest.nsi' has a BOM marked as UTF-16LE. Opening 'bigtest.nsi' as UTF-16LE. ---- |
Quote:
|
| All times are GMT. The time now is 17:58. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.