Archive: description texts


description texts
This is my first real work with NSIS. I'm trying to get the description text on the component installation page to appear. I've tried the sample code listed, but when I hover over the components, I don't get any text. Here's what I've put in:

LangString DESC_Section1 ${LANG_ENGLISH} "Installs CHOICE.COM, required for the batch program."
LangString DESC_Section2 ${LANG_ENGLISH} "Installs the Auto Connect batch file and places a shortcut in the startup folder."
LangString DESC_Section3 ${LANG_ENGLISH} "Installs the registry hacks to enable or disable automatic logon."

!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT SEC01 $(DESC_Section1)
!insertmacro MUI_DESCRIPTION_TEXT SEC02 $(DESC_Section2)
!insertmacro MUI_DESCRIPTION_TEXT SEC03 $(DESC_Section3)
!insertmacro MUI_FUNCTION_DESCRIPTION_END
The sections are named SEC01, 02, and 03. However, I'm not getting any hover-over description text. What am I doing wrong?

It should be ${SEC01} instead of SEC01.


I'm still not getting it. Is there a certain place within the file that I should have these lines? Does that matter?


Those lines should be placed after the sections because the section define is only defined after the section line itself. If you still can't get it to work, attach a minimal version of your script so the exact problem can be pinpointed.