Skip to content
⌘ NSIS Forum Archive

Show additional description for sections?

3 posts

Elmi#

Show additional description for sections?

Hi,

In my installer script I have defined some sections where the user can choose from which to install:


Section "Multiple language support" SEC_LANGUAGES
SectionIn 4
SetOutPath "$INSTDIR\translations\"
File /r "..\translations\common_*.lang"
SetOutPath "$INSTDIR\"
SectionEnd
This works fine but with the MUI2 I have an empty area right beside my section-checkboxes. Since this seems to be usabel for some additional description about the different install sections/options: how can I add some additional information text to my sections so that it is shown there?

Thanks!
JasonFriday13#
Try putting this after all your sections:
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${SEC_LANGUAGES} "Install files for multiple language support"
; Copy/paste the macro above for each section that you want a description for
!insertmacro MUI_FUNCTION_DESCRIPTION_END