|
|
|
|
#1 |
|
Junior Member
Join Date: Nov 2006
Posts: 13
|
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? |
|
|
|
|
|
#2 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
You upgraded to MUI2, right? You should use $\r$\n for a new line.
|
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Nov 2006
Posts: 13
|
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? |
|
|
|
|
|
#4 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
With MUI1, \r\n should work. Can you send me a minimal version of the script, which will compile on my system?
|
|
|
|
|
|
#5 |
|
Junior Member
Join Date: Nov 2006
Posts: 13
|
Sorry to keep you waiting.
Here is the script: code: |
|
|
|
|
|
#6 |
|
NSIS MUI Dev
Join Date: Nov 2001
Posts: 3,717
|
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. |
|
|
|
|
|
#7 |
|
Junior Member
Join Date: Nov 2006
Posts: 13
|
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. ---- |
|
|
|
|
|
#8 | |
|
Moderator
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,442
|
Quote:
IntOp $PostCount $PostCount + 1 |
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|