PBsoft
28th August 2006 20:34 UTC
MUI_DESCRIPTION_TEXT label already declared
I'm using ModernUI.
I've defined some section:
Section !Procedura SEC0000
Section "un.Procedura" UNSEC0000
Then I've defined the relative descriptions:
!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${SEC0000} $(DESC_SEC0000)
!insertmacro MUI_DESCRIPTION_TEXT ${UNSEC0000} $(DESC_UNSEC0000)
!insertmacro MUI_FUNCTION_DESCRIPTION_END
Now I'm getting this error:
!insertmacro: MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro: end of MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro: MUI_DESCRIPTION_TEXT
!insertmacro: end of MUI_DESCRIPTION_TEXT
!insertmacro: MUI_DESCRIPTION_TEXT
Error: label "mui.description_0_done:" already declared in function
Error in macro MUI_DESCRIPTION_TEXT on macroline 10
Do you know how can I solve?
kichik
29th August 2006 00:21 UTC
Description for uninstaller sections must be defined using MUI_UNFUNCTION_DESCRIPTION_BEGIN and MUI_UNFUNCTION_DESCRIPTION_END. You've mixed both installer's and uninstaller's descriptions in MUI_FUNCTION_DESCRIPTION_BEGIN.
PBsoft
29th August 2006 07:21 UTC
Many thanks kichik.
It was just what I need.
You're great :-)
Daniel James
27th March 2008 20:30 UTC
Originally posted by kichik
Description for uninstaller sections must be defined using MUI_UNFUNCTION_DESCRIPTION_BEGIN and MUI_UNFUNCTION_DESCRIPTION_END.
This advice appears only to be valid for the original MUI code, and not for MUI 2 (despite being mentioned in the MUI 2 documentation).
How does one achieve the same thing in MUI 2 uninstallers?
kichik
27th March 2008 20:34 UTC
What makes you think it doesn't work with MUI2?
Daniel James
27th March 2008 20:51 UTC
Originally posted by kichik
What makes you think it doesn't work with MUI2?
I get:
!insertmacro: MUI_UNFUNCTION_DESCRIPTION_BEGIN
!insertmacro: macro named "MUI_UNFUNCTION_DESCRIPTION_BEGIN" not found!
Error in script "G:\SWDev\VA\VAOS\InProgress\VA6\Installer\VA_Install.nsi" on line 943 -- aborting creation process
when I try it ...
There is no definition for MUI_UNFUNCTION_DESCRIPTION_BEGIN/END in MUI2/components.nsh where the corresponding MUI_FUNCTION_DESCRIPTION_BEGIN/END macros are defined.
kichik
27th March 2008 20:56 UTC
Seems that was fixed for the yet-to-be-released 2.36. You can get the fixed version from:
http://nsis.svn.sourceforge.net/view...Components.nsh
Daniel James
27th March 2008 21:52 UTC
Originally posted by kichik
Seems that was fixed for the yet-to-be-released 2.36. You can get the fixed version from:
http://nsis.svn.sourceforge.net/view...Components.nsh
Many thanks. I'll try that.