Perky Jacket
29th May 2004 14:12 UTC
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?
Joel
29th May 2004 14:35 UTC
Did you try SubSection with parameter /e?
Perky Jacket
29th May 2004 15:03 UTC
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?
Joel
30th May 2004 01:21 UTC
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
Perky Jacket
30th May 2004 10:54 UTC
cool!
thx thx thx thx! i have to say this again:
thx thx thx thx thx thx! u have help me so much!
Joel
30th May 2004 15:32 UTC
No problem, that's why we are here. :)