In a recent project, we found that NSIs is a relatively pitfall: $ is not only the beginning of the variable constant, but also an escape character.
Have you found that "\ r \ n" is not useful if the text in the pop-up message box contains a line break in the NSIs script?
One day, after carefully reading the NSIs document, I finally suddenly realized that .. To write the following code =
MessageBox mb_ OK"This is the first line $ \ r$ \ n this is the second line"
Below we will sort out the escape characters in the NSIs string:
$ Indicates "$"
$ \ R indicates carriage return
$ \ N indicates a new row.
$ \ T indicates a tab
Although I have not carefully read the NSIs documentation, it is too difficult to give the escape character a second escape .. When I write this article, the right to speak .... ,,,
Reprinted please indicate the source of the article: leaco blog: http://www.cnblogs.com/Leaco/p/3865595.html