Archive: Is this a bug about sectionGroup?


Is this a bug about sectionGroup?
Hello all:
if you try the following code, you will find an obviously
bug.

when you deselect both JMF and JRE, the Sun Java Package
still is selected?!

why? I waste almost whole night to figure it out.


-Thank you


!include "MUI.nsh"


!insertmacro MUI_PAGE_COMPONENTS


; The file to write
OutFile "setup.exe"

SectionGroup "1 test" test1
Section "hello"
SectionIn 1 2
SectionEnd

Section "hello2"
SectionIn 1 2
SectionEnd
SectionGroupEnd

SectionGroup "2 test" test2
Section "hello3"
SectionIn 1 2
SectionEnd

Section "hello4"
SectionIn 1 2
SectionEnd
SectionGroupEnd

SectionGroup /e "2: Sun Java Package" SunJava

Section "Sun Java JRE" JavaJRE
SectionIn 1 2
SectionEnd

Section "Sun Java JMF" JavaJMF
SectionIn 1 2
SectionEnd

SectionGroupEnd


Again this might be the bug found in 2.05
Put a dummy Section at the top of all Sections.

If that doesn't work, then down-grade to 2.04

-Stu