Prev Previous Post   Next Post Next
Old 21st December 2017, 13:08   #1
Lord Cris
Junior Member
 
Join Date: Dec 2017
Posts: 9
Section selection confusing

Hello everybody,

I have a, for me Confusing Problemen where i need the help from you.

In for my i installer i got the call the some addons requirt a specific addon and when of these addons are selected that specific addon must be selected too. THe Selection of it had resolved, but now on testing i see that i cant unselect the addon and now i know t and tryed to fix it.

I have a number of 5 sections + the "must" section extensions.

I have atm the following code:

code:

Function .onSelChange
SectionGetFlags ${extensionsSec} $R0
IntOp $R0 $R0 & ${SF_SELECTED}
${IfNot} $R0 == ${SF_SELECTED}
IntOp $0 ${SF_SELECTED} & ${SF_SELECTED}
SectionSetFlags ${extensionsSec} $0
!insertmacro ClearSectionFlag ${extensionsSec} ${SF_RO}
${EndIf}
FunctionEnd



now the problems,
first how can i get the Section where is selected by user in runtime bevor installtion with out iteratin over all sections.
second how can i fix the problem that i cant unselect extensions when the addon where it needed is unselected.
I hope you can help me to solve this.

~ Cris
Lord Cris is offline   Reply With Quote
 
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