Archive: How to create Substrings with ComponentText


How to create Substrings with ComponentText
Hi,

i want to change the text on the left side of the Select components field in the Components Page.

Right now, i use ComponentText "" to change the standard Component Page display text:


ComponentText "Click components to check compoenents for installation. Click again to uncheck components."

Now i also want to change the other texts of the components page. I tried to call ComponentText again, but got a warning of wasting space from compiler.

Now, is there anyway to create a subsection using ComponentText? The NSIS help on this doesnt have an example on this.

Thanks in advance.

zachmension


Are you using Modern UI?


Hi,

i have a wizard generated template installer using NSISEdit.

I think it runs with modern ui.

However, i only need an example that shows how to change the subtitles of the Components Page using ComponentText.

The NSISEdit help says:

ComponentText [text [sub_text] [subtex]]

but i didnt get the hint how to achieve this. I put this function in the global settings section of the script, before the first Section and Function calls.

So i currently have this only:


ComponentText "Click to check components to install. Click again to uncheck components."

Now i want to do the same with the other titles on the Componens Page.

Again, thanks in advance.

zachmension