I have an Inno Setup program with a custom WelcomeLabel2 message.
[Messages]
WelcomeLabel2=Lorem ipsum dolor sit amet CLICK_HERE consectetur adipiscing elit.
I am trying to make the CLICK_HERE a clickable link to a website.
Another thing i am wondering is how to make this CLICK_HERE text bold.
How can i achieve this?
Tks!
It's not easy.
To create a label that is clickable whole, you can use a code like:
See also Show License Agreement link in Inno Setup while installation.
Though to create a label that have just parts of its text clickable is a way more difficult. If the text fits on one line, it's doable by stacking three labels next to each other (first the leading static text, then link, followed by the trailing static text). But if the text does not fit on one line, it's not doable, as the labels would overlap each other.
Alternatively, you can create an RTF document with the link and present it using a read-only
TRichEditViewer
:To change the link color, see Inno Setup - How to change the color of the hyperlink in RTF text?