Old 11th January 2012, 08:26   #1
sanusl
Junior Member
 
Join Date: Jan 2012
Posts: 1
Multiple components option

Hi,

I am a newbie in NSIS. I need some help regarding the MUI Components page. I am adding 3 section Group and different sections inside the Section Groups. I need to do different actions based on the user selection. Users have the options to select multiple options.
So can anyone please help me with a sample code which is having more than 3 sections and verifying the user selection of those options and based on that displaying different message boxes

Thank you
sanusl is offline   Reply With Quote
Old 11th January 2012, 11:33   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
In .onSelChange (or on page leave) you can use ${If} ${SectionIsSelected} ${SECTION_ID} where SECTION_ID is the last param on Section. Note that the sections must be before your .onSelChange function so that SECTION_ID is defined before you use it.

Stu
Afrow UK is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Tags
components, mui, nsis, section

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