Skip to content
⌘ NSIS Forum Archive

Section in Section?

5 posts

Guest#

Section in Section?

[x] SubSec1
L [x] Sec1
L [x] Sec2
L [x] File1
L [x] File2
L [x] File3
L [x] Sec3
L [x] File1
L [x] File2

[x] SubSec1
...
...


can anybody write an example script for me if possible.
Guest#
[x] SubSec1
[x] Sec1
... [x] Sec2
..... [x] File1
..... [x] File2
..... [x] File3
[x] Sec3
... [x] File1
... [x] File2

sorry for first post.
Joel#
Easy 😉

!define INST "help"

Name ${INST}
Caption ${INST}
OutFile "${INST}.exe"
XPStyle on
ShowInstDetails show

Page components
Page instfiles

SubSection "root"
; Begin "root"

SubSection "child1"
; Begin "child1"

Section "sec1"
; Begin "sec1"

; End "sec1"
SectionEnd

Section "sec2"
; Begin "sec2"

; End "sec2"
SectionEnd

Section "sec3"
; Begin "sec1"

; End "sec3"
SectionEnd

; End "child1"
SubSectionEnd

SubSection "child2"
; Begin "child2"

Section "sec1"
; Begin "sec1"

; End "sec1"
SectionEnd

Section "sec2"
; Begin "sec2"

; End "sec2"
SectionEnd

Section "sec3"
; Begin "sec1"

; End "sec3"
SectionEnd

; End "child2"
SubSectionEnd

; End "root"
SubSectionEnd