Archive: expanded components


expanded components
hi,

i have a question to the nsis.
in my setup can select the user some features (components)
to install. but how can i make it so, that the features, wich appears in the setup, expanded?

for example:

game|
.......|singleplayer mode
.......|multiplayer mode
graphics|
...........|textures
...........|models
*and so next*

this is an example.
can someone help me?


Did you try SubSection with parameter /e?


This is the code

Section "Program Files" SEC01
SetOutPath "$INSTDIR"
SetOverwrite ifnewer
File "C:\Programme\NSIS\NIS Edit\test.bmp"
File "C:\Programme\NSIS\NIS Edit\test.txt"
SectionEnd

SubSection [/e] "Test1" SEC02
SetOutPath ""
File "C:\Programme\NSIS\NIS Edit\lizenz.rtf"
SectionEnd

it´s doesn´t work.
where is the mistake?

can someone post the right code with this contents?



Name "Lobo Lunar"
OutFile "Hi.exe"
BrandingText "Lobo Lunar"
InstallDir "$EXEDIR"
ShowInstDetails show

Page components
Page instfiles


SubSection /e "Father" # Begin Father

Section "Son1"
; stuff go here...
SectionEnd

Section "Son2"
; stuff go here...
SectionEnd

SubSectionEnd # End of father

SubSection /e "Mother" # Begin Mother

Section "Son3"
; stuff go here...
SectionEnd

Section "Son4"
; stuff go here...
SectionEnd

SubSectionEnd # End of Mother

cool!

thx thx thx thx! i have to say this again:
thx thx thx thx thx thx! u have help me so much!


No problem, that's why we are here. :)