Archive: Add link to finish page using MUI_PAGE_CUSTOMFUNCTION_PRE


Add link to finish page using MUI_PAGE_CUSTOMFUNCTION_PRE
Hi,
This post is continuation to the post: http://forums.winamp.com/showthread.php?postid=1739340
I added link to the finish page, but it appears only when I move the mouse over it. I use the MUI_PAGE_CUSTOMFUNCTION_PRE. The link is defined as follow:

!define MUI_PAGE_CUSTOMFUNCTION_PRE FinishPre
!define MUI_FINISHPAGE_LINK ""
!define MUI_FINISHPAGE_LINK_LOCATION ""
(I must define the location in FinishPre since it's not always known in advance)

Function FinishPre
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "State" "http://www.google.com"
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Text" "Click to Brows"
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Left" "121"
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Right" "316"
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Top" "109"
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Bottom" "120"
FunctionEnd

When I look in the "ioSpecial.ini", it is updated, so why the link cannot be seen?

Thanks,
May


It must be covered by a static label.

-Stu


can you please explain this ?

Thanks,
May


There is another control on the dialog covering your label control up. It's probably a Label. In other words, you need to find out which label it is and make it smaller.

-Stu


Thanks :D . That's exactly what it was.