Archive: How to put a newline in detailprint for instfiles?


How to put a newline in detailprint for instfiles?
Hello Everyone,

I tried looking through the threads, but found nothing up-to-date regarding the insertian of $\n (newlines) into a detail print statement for the mui_instfiles page. I am using NSIS 2.0, is there a way to do this? Why would the text box not have the horizontal scrollbar automatically, or wordwrap or handling of a new line?

couldn't something like the following be implimented:
1. Turn on automatic horizontal scroll bar
2. Handle the $\r and $\n characters, instead of boxes.
3. Impliment MUI_INSTFILES_WORDWRAP

Cheers,

zimsms


You'll have to call this command multiple times, one time for each line.


Hello Joost,

Can You add this as a feature request then, it really is quite annoying....

Cheers,

zimsms


You can submit a feature request at the project page.

Another possibility is to create a function that takes a string with newlines and calls the command multiple times.


True enough!