Section / SectionGroup order of execution
Hi There,
I was wondering if there was a way to override the Section or SectionGroup order of execution without re-arranging things. From what I have seen and read, Sections are executed in the order they appear in the script.
Here's a long-winded description of whats going on - in case my above question isnt clear:
I have a script that sets up a queue of pages like this: (I oversimplified the following to save space)
------------------------------------------
Page components
Page directory ; window to select main install dir
Page directory ; window to select secondary install dir
Page instfiles
------------------------------------------
Then I setup my SectionGroups and Sections like this:
------------------------------------------
SectionGroup "base components"
Section "base config files"
SectionEnd
Section "base cgi scripts"
SectionEnd
Section "base fast-cgi scripts"
SectionEnd
SectionGroupEnd
SectionGroup "3rd party components"
Section "apache webserver"
SectionEnd
Section "activeperl"
SectionEnd
SectionGroupEnd
------------------------------------------
Based on this configuration, what happens is:
- User selects components
*if any base compoents were selected:
- install base components
*if any 3rd party components were selected:
- install 3rd party components
Finish
What I want to happen is:
- User selects components
*if any 3rd party components were selected:
- install 3rd party components
*if any base components were selected:
- prompt user to select target dirs for each selection
- install base components
- Finish
I am pretty sure puting the 3rd Party selection group above the base component group would do this ... BUT I really want the base components at the top of the select list.
Thanks,
Nick