Archive: BrandingURL doesn't show on Welcome/Finish pages


BrandingURL doesn't show on Welcome/Finish pages
Hello,

The BrandingURL plugin
http://nsis.sourceforge.net/BrandingURL_plug-in
looks great on the Directory and other intermediate pages.

But it doesn't show on my Welcome or Finish pages.

Any tips?

Thanks,

Larry


Hi larrykluger!

This behaviour is by design. There is no branding label on the welcome and the finish page.

I suggest using

MUI_FINISHPAGE_LINK link_text
Text for a link on the which the user can click to view a website or file.

MUI_FINISHPAGE_LINK_LOCATION file/url
Website or file which the user can select to view using the link. You don't need to put quotes around the filename when it contains spaces.

to show an additional link on the finish page.

Have a nice day.

Cheers

Bruno


Thanks Bruno,

Any tip for the Welcome page? That's where I really need it (To send the novice user to the right web page for additional information.)

Or do you know the steps for adding a new field of type 'link' to the Welcome page (MUI)?

I will try to dope it out.

Thanks and regards,

Larry


Hi larrykluger!

Yes, of course. You can do this by edit the ioSpecial.ini-file in the PRE function.


;--------------------------------
;Pages

!define MUI_PAGE_CUSTOMFUNCTION_PRE WelcomePageSetupLink
!insertmacro MUI_PAGE_WELCOME
:
:

Function WelcomePageSetupLink
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Settings" "Numfields" "4" ; increase counter
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 3" "Bottom" "122" ; limit size of the upper label
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Type" "Link"
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Text" "http://www.google.ch/"
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Left" "120"
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Right" "315"
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Top" "123"
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Bottom" "132"
FunctionEnd


http://nsis.sourceforge.net/Add_link...page_%28MUI%29

Hope this works for you!

Have a nice day!

Cheers

Bruno

Thank you very much Bruno,

I have done further work on this and have learned:


... in the 'pre' function
; specify different link text and url values:
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "Text" "${MY_URL_TEXT}"
!insertmacro MUI_INSTALLOPTIONS_WRITE "ioSpecial.ini" "Field 4" "State" "${MY_URL}"
;
... end of the 'pre' function


; Need to fix the background color of the new link control--
; this is done in a 'show' function
Function on_welcome_pg_show
; Thanks to pengyou
; Fix colors of added link control
; See http://forums.winamp.com/showthread....hreadid=205674
Push $0

GetDlgItem $0 $MUI_HWND 1203
SetCtlColors $0 "0000FF" "FFFFFF"

Pop $0
FunctionEnd


Regards from rainy NYC,

Larry

Underline the url text?
Hi,

A question remains:

How to cause the text of a link control to be underlined?
Using an ampersand causes, at most, one character to be underlined. (For use with Alt key.)

A related question, getting the text set with MUI_FINISHPAGE_LINK to also be underlined.

Thanks for any ideas,

Larry


Hi Larry!

This will help you:

http://forums.winamp.com/showthread....97#post1804797

I added your and the underline code to the wiki page as well:
http://nsis.sourceforge.net/Add_link...MUI%29#Example

Have a nice day!

Cheers

Bruno


Extremely helpful.

Thanks!

Larry