Archive: Ask for feature: html-like tags to mark text


Ask for feature: html-like tags to mark text
I use install options:

!insertmacro MUI_INSTALLOPTIONS_WRITE "already.ini" "Field 1" "Text" "Older version presents. Path: $R0. Choose options, and click Next"

User gets simple text:

"Older version presents. Path: C:\Prog. Choose options..."

I ask developers of NSIS to add simple html-like tag to mark some parts of text as bold: (<b>,</b>):

Then, user can get a such text in install options:
"Older version presents. Path: C:\Prog. Choose options..."

Is this possible?


Not currently, but you can have it as three labels. You can then set the font of the second label using CreateFont and SendMessage with ${WM_SETFONT}.


Well, I'll try this way, but main problem is in that the selected text maybe shorter or longer or even empty in some cases, and in general, all the text may vary. So second label maybe unusable, but it will take a place on the page.
Marking text by special simple tags (bold, color) will be a nice feature. Although, I know, its implementation is not simple work for developers.
But I hope, sooner or later YOU WILL DO IT?


You can have the selected text on a separate line to avoid any problems with shorter or longer text. Another totally different solution is using an RTF in a license page or a RichText control with InstallOptionsEx.