Skip to content
⌘ NSIS Forum Archive

Don't know how do this with section

2 posts

KirillKr#

Don't know how do this with section

I have sections
SectionGroup B
  Section A
    SetionIn RO
  SectionEnd
  Section B
    SetionIn RO
  SectionEnd
  Section B
  SectionEnd
SectionGroupEnd
Section -finish
  CreateShortCut...
  WriteUninsta....
  InitPluginDir
  File /oname ....
  ExecWait regedit /s ...
  Delete $PLUGINDIR...
SectionEnd 
If I run setup, then I see nice installer.
I want write this code, when I run setup with parametr config, all section skiped. Only last section -finish write his code.
Comm@nder21#
Section B
SetionIn RO
SectionEnd
Section B
SectionEnd

you cant have 2 instances of section B