Skip to content
⌘ NSIS Forum Archive

Automatically Hide sections by InstType...

3 posts

dTomoyo#

Automatically Hide sections by InstType...

Hi...

I love NSIS.
but, some new feature...

It is hide section by InstType.

see below.. ani-gif. eg.



some sample...
OutFile test_nsis.exe
SilentInstall normal
WindowIcon on
HideSection on ; off
ComponentText "Select components" "" ""
InstType 'Preset 1'
InstType 'Preset 2'
InstType 'Full'
InstType /UnselectAll "/CUSTOMSTRING=Custom"
Name "NSIS Test"
Section "Section 1"
SectionIn 1 2 3
SectionEnd
SectionDivider
Section "Section 2"
SectionIn 1 3
SectionEnd
Section "Section 3"
SectionIn 2 3
SectionEnd 

I wish add to next version of nsis. 😉
sdbarker#
I'm not certain, but you can probably accomplish this with the .onSelChange callback, and new section modification calls that were added for 1.98

-Scott