SectionGetFlags bug ?
It seems that there's a little bug with that function !
Using the nsis install script :
SectionGetFlags ${SecContribModernUI} $R0THe comparison is always false, event if ModernUI is selected (during full install, for example)
IntOp $R0 $R0 & ${SF_SELECTED}
IntCmp $R0 ${SF_SELECTED} 0 nomui nomui
SetOutPath "$INSTDIR\Contrib\Modern UI\Language files"
File "..\Contrib\Modern UI\Language files\*.nsh"
I didn't found any similar bug report on it ...
Regards