As you guys see, The "aaaa" section is deselected in .OnInit function, so by default, the others should remain selected. But why in the world all sections become unselected???
outfile `test.exe`
!include 'MUI.nsh'
!include 'LogicLib.nsh'
!define LOGICLIB_SECTIONCMP
!insertmacro MUI_PAGE_COMPONENTS
Function .OnInit
!insertmacro UnSelectSection ${a}
FunctionEnd
SectionGroup `!Parent` pnt
Section '!aaaa' a
SectionEnd
Section '!bbbb'
SectionEnd
Section '!cccc'
SectionEnd
SectionGroupEnd
How to resolve this issue?