Skip to content
⌘ NSIS Forum Archive

SectonGroup description

3 posts

kalverson#

SectonGroup description

I have a group defined like this:

SectionGroup /e "Security" SECGRPsecurity

Section
SectionEnd

SectionGroupEnd

With a set in oninit header like this

SectionSetText ${SECGRPsecurity} "Security components"

But the description never shows up when I hover over the group in the component panel. What am I doing wrong?
Anders#
Works just fine for me, just make sure you set the text after the section group has been defined in your source file:

Page Components

SectionGroup /e "Security" SECGRPsecurity

Section "Whatever"
SectionEnd

SectionGroupEnd

Function .onInit
SectionSetText ${SECGRPsecurity} "Security components"
FunctionEnd
kalverson#
Thanks for the reply Anders. It was my fault. I forgot to add the Modern UI macros

LangString DESC_Section15 ${LANG_ENGLISH} "Installs all security components"

!insertmacro MUI_DESCRIPTION_TEXT ${SECGRPsecurity} $(DESC_Section15)

After I added those, the description started showing up in the components page.