ijerkovi
12th August 2003 17:12 UTC
Hover Text (under Description)
How would one put some text for each section they are installing?
Right now I see dreaded "Hover your mouse over a component to see its description" and nothing changes when I hover over components to install.
Much help appreciated.
Joost Verburg
12th August 2003 17:14 UTC
See the Modern UI Readme (7. Set the descriptions for the sections) or the examples.
stephen.lu
16th March 2006 15:35 UTC
The descriptions of sections will be displayed on the components page, when the user hovers the mouse over a section. If you don't want to use descriptions, use the MUI_COMPONENTSPAGE_NODESC interface setting.
To set a description for a section, you have to add an additional parameter to the Section commmand with a name for the define that should contain the section number.
Section "Section Name 1" Section1
...
SectionEnd
Use these macros to set the descriptions:
LangString DESC_Section1 ${LANG_ENGLISH} "Description of section 1."
LangString DESC_Section2 ${LANG_ENGLISH} "Description of section 2."
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${Section1} $(DESC_Section1)
!insertmacro MUI_DESCRIPTION_TEXT ${Section2} $(DESC_Section2)
!insertmacro MUI_FUNCTION_DESCRIPTION_END
For the uninstaller, use the MUI_UNFUNCTION_DESCRIPTION_BEGIN and MUI_UNFUNCTION_DESCRIPTION_END macros.