Skip to content
⌘ NSIS Forum Archive

Problem with Section........

3 posts

cybereka#

Problem with Section........

Hai all,
I have a problem. I have defined four sections apart from main section. In the four sections three is used to put shortcut in the program menu and one section is where i extract some extra files. While installing if i uncheck any of the shortcut section i am not getting that shortcut in the program menu whereas if i uncheck the section which extracts some extra files it still gets executed and extracts the files. I don't know whats wrong with that i just tried out all these with examples provided with the NSIS so i am not much aware of using SectionIn. Please explain the SectionIn briefly and help me with this problem. The code i wrote is as follows:

Section "Install Extra Files" SecCopyExtra
SectionIn 1 2 3
SetOutPath $INSTDIR
File /r folder1 folder2 folder3
SectionEnd

Many thanks for u all.
With Thanks, Eka S
kichik#
SectionIn is only useful if you have different installation types (defined with InstType). It "specifies which install types (see InstType) the current section defaults to the enabled state in."

If that doesn't help you solve the problem, do as Joost said.