Archive: regarding components installed


regarding components installed
Hi again!
Is there any way of figuring out which components the user choosed? I need to display a custompage depending on the choice...
(i've problems calling a custom page whithin a section, the next page are always 'disabled'- so i use the Page command in the header)


There is an example in the archive:

http://nsis.sourceforge.net/archive/...php?pageid=320

You can't call InstallOptions/StartMenu in a section, both must be called from their own page creator function.


Using the script you mentioned works great!
...except for subsections:

Theese lines:
SectionGetFlags ${Sec1} $R0
IntOp $R0 $R0 & ${SF_SELECTED}
IntCmp $R0 ${SF_SELECTED} show

...works if the section is selected, but does not work if NOT ALL subsections are selected (the section checkbox is gray).
Do i need to OR all selected subsections to do this, or is there another way?


You can get the latest CVS version and check for the SF_PSELECTED flag which is set when just part of the sections under the subsection are selected.