Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 6th August 2004, 15:29   #1
tmountjr
Junior Member
 
Join Date: Aug 2004
Posts: 2
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:

Quote:
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?
tmountjr is offline   Reply With Quote
Old 6th August 2004, 15:42   #2
Joost Verburg
NSIS MUI Dev
 
Join Date: Nov 2001
Posts: 3,717
It should be ${SEC01} instead of SEC01.
Joost Verburg is offline   Reply With Quote
Old 9th August 2004, 13:41   #3
tmountjr
Junior Member
 
Join Date: Aug 2004
Posts: 2
I'm still not getting it. Is there a certain place within the file that I should have these lines? Does that matter?
tmountjr is offline   Reply With Quote
Old 12th August 2004, 20:20   #4
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,338
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.

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp 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