Archive: Error: label "mui.description_1_done:" already declared in section/function


Error: label "mui.description_1_done:" already declared in section/function
In a multilingual installer I do:


!include "English.nsh"
!include "German.nsh"

;Assign language strings to sections
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${SecCore} $(DESC_SecCore)
!insertmacro MUI_DESCRIPTION_TEXT ${SecSub} $(DESC_SecSub)
!insertmacro MUI_DESCRIPTION_TEXT ${UnSecCore} $(DESC_UnSecCore)
!insertmacro MUI_DESCRIPTION_TEXT ${UnSecSub} $(DESC_UnSecSub)
!insertmacro MUI_FUNCTION_DESCRIPTION_END


since the addition of the two 'Un' sections I get the following error:

Error: label "mui.description_1_done:" already declared in section/function


Any idea?

Try this.

!include "English.nsh"
!include "German.nsh"

;Assign language strings to sections
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${SecCore} $(DESC_SecCore)
!insertmacro MUI_DESCRIPTION_TEXT ${SecSub} $(DESC_SecSub)
!insertmacro MUI_FUNCTION_DESCRIPTION_END

!insertmacro MUI_UNFUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${UnSecCore} $(DESC_UnSecCore)
!insertmacro MUI_DESCRIPTION_TEXT ${UnSecSub} $(DESC_UnSecSub)
!insertmacro MUI_UNFUNCTION_DESCRIPTION_END
There is a brief note in the manual mentioning the use of the MUI_UNFUNCTION_DESCRIPTION_BEGIN and MUI_UNFUNCTIONS_DESCRIPTION_END macros.