Archive: Can't get uninstall sections roll-over text


Can't get uninstall sections roll-over text
Hi! I am trying to do an uninstaller with one install type and two sections (components) in it. I can't get the sections' (components) roll-over description to be shown.

Here is how I'm doing it:

Section "Section1" Section1
SectionIn RO
...
SectionEnd

Section "Section2" Section2
SectionIn RO
...
SectionEnd

Section "Section3" Section3
SectionIn 1
...
SectionEnd

Section "Section4" Section4
SectionIn 1
...
SectionEnd

Section -FinishSection
...
SectionEnd

!insertmacro MUI_FUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${Section1} "Desc1"
!insertmacro MUI_DESCRIPTION_TEXT ${Section2} "Desc2"
!insertmacro MUI_DESCRIPTION_TEXT ${Section3} "Desc3"
!insertmacro MUI_DESCRIPTION_TEXT ${Section4} "Desc4"
!insertmacro MUI_FUNCTION_DESCRIPTION_END

!insertmacro MUI_UNFUNCTION_DESCRIPTION_BEGIN
!insertmacro MUI_DESCRIPTION_TEXT ${Section5} "Desc1"
!insertmacro MUI_DESCRIPTION_TEXT ${Section6} "Desc2"
!insertmacro MUI_UNFUNCTION_DESCRIPTION_END

Section "un.Section1" Section5
SectionIn RO 1
...
SectionEnd

Section /o "un.Section2" Section6
SectionIn 1
...
SectionEnd

Section "-un.FinishSection"
...
SectionEnd
I tried with no putting additional install types, then tried with putting one new install type and one new uninstall type and disabling the custom install type but the uninstaller sections' descriptions still don't apper.

That's because ${Section5} and ${Section6} are only defined once the Section command is processed. Move MUI_UNFUNCITON_DESCRIPTION_BEGIN and friends below the section definitions.


Thanks a lot! It was that simple.. Now it works:)