Archive: Subsection


Subsection
  Hi,

I want to create a program with subsections. What I have now is:

Section /o "Apple"

SetOutPath "xxxxxxxxx"
CreateDirectory "xxxxxxxxx"
File /r "xxxxxxxxx"

SectionEnd

Section /o "Banana"

SetOutPath "xxxxxxxxx"
CreateDirectory "xxxxxxxxx"
File /r "xxxxxxxxx"

SectionEnd

Section /o "Orange"

SetOutPath "xxxxxxxxx"
CreateDirectory "xxxxxxxxx"
File /r "xxxxxxxxx"

SectionEnd

What I want to create now is an higher level section "Fruits". So when I run the program I want to select "Fruits" and the program automatically select "Apple" - "Banana" and "Orange". Note that I must be able to also select only "Apple" or "Orange".

If there is any code for this please advice me.

Brgds.



SectionGroup "Fruits"

Section /o "Apple"
#your code here
SectionEnd
SectionGroupEnd
>

thx it works fine.