Old 15th January 2018, 09:01   #1
Elmi
Junior Member
 
Join Date: Nov 2011
Posts: 14
Show additional description for sections?

Hi,

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

code:

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!
Elmi is offline   Reply With Quote
Old 15th January 2018, 12:40   #2
JasonFriday13
Major Dude
 
JasonFriday13's Avatar
 
Join Date: May 2005
Location: New Zealand
Posts: 864
Try putting this after all your sections:
code:
!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


"Only a MouseHelmet will save you from a MouseTrap" -Jason Ross (Me)
NSIS 3 POSIX Ninja
Wiki Profile
JasonFriday13 is offline   Reply With Quote
Old 16th January 2018, 05:13   #3
Elmi
Junior Member
 
Join Date: Nov 2011
Posts: 14
Works great - thanks!
Elmi is offline   Reply With Quote
Reply
Go Back   Winamp & SHOUTcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump