Old 21st February 2005, 13:59   #1
djbutler
Junior Member
 
Join Date: Feb 2005
Posts: 3
Display InstType Description

Searched, been through all the manual ... couldn't find it.

In the MUI, you CAN add a description that displays when the user hovers over a section.

Is there a way (that is, an already easy way that's part of MUI/NSIS in general and doesn't require a custom page) to display a description of the currently selected INSTTYPE?

For instance, we have 3 install types - one includes a full Oracle Installation and is called 'SERVER', one Installs everything but the Oracle Server and is called 'REMOTE'. One just installs shortcuts and some local supporting files, and is called 'CLIENT'. Since Users often refuse to read the fine manual, we'd like to explain it to them in the installer.

I realize that one solution is to make these InstTypes into Sections instead of InstTypes, but that does not suit our model.

Any suggestions?

Thanks! Doug
djbutler is offline   Reply With Quote
Old 21st February 2005, 16:10   #2
glory_man
Senior Member
 
Join Date: Sep 2004
Location: Mogilev (Belarus)
Posts: 372
Maybe try to use Lobo Lunar's (Joelito) plugin - tooltips.
I never used him, but maybe help you.
Use function .onSelChange to detect which InstType selected by user (GetCurInstType instruction).
Use GetDlgItem to retrieve the handle of the dropdown list (but I don't known item_id - maybe cool member's help you with it).
And after that use plugin: apply tooltip for this droplist based on selected InstType.

Sorry my English.
glory_man is offline   Reply With Quote
Old 21st February 2005, 16:18   #3
djbutler
Junior Member
 
Join Date: Feb 2005
Posts: 3
Thanks Glory -

<<Sorry English>>

I'm sure your English is better than my attempt to speak your language.

I will hack around with those ideas today ... perhaps w/onSelChanged I can set the text of an existing caption or label.

Appreciate it.

Doug
djbutler is offline   Reply With Quote
Old 22nd February 2005, 09:57   #4
glory_man
Senior Member
 
Join Date: Sep 2004
Location: Mogilev (Belarus)
Posts: 372
It is possible to try to make two custom pages. One before Components page. On it make the description of all types. The second page after Components page with a warning caption (like ATTENTION!) about that what InstType has been chosen. If user wants to change InstType must be pressed BACK.

The second page to make bright to attract attention of the user.
Quote:
Since Users often refuse to read the fine manual, we'd like to explain it to them in the installer.
So if user inattentive than let will pay attention.
glory_man is offline   Reply With Quote
Old 22nd February 2005, 14:23   #5
djbutler
Junior Member
 
Join Date: Feb 2005
Posts: 3
Another good idea - Thanks Mr. Glory!
djbutler 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