online
17th September 2003 13:27 UTC
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)
kichik
17th September 2003 13:30 UTC
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.
online
17th September 2003 15:41 UTC
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?
kichik
17th September 2003 15:44 UTC
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.