Skip to content
⌘ NSIS Forum Archive

Feature Request

6 posts

sandrakim90#

Feature Request

On the finish page, I'd like to show a checkbox with custom text, so if checked and when the Finish button is pressed, the user is taken to a given URL. The closest functionality to this is the MUI_FINISHPAGE_SHOWREADME instruction. Rather than creating a new set of instructions, MUI_FINISHPAGE_SHOWREADME can be renamed to something generic like MUI_FINISHPAGE_SHOWQUESTION. And another instruction can be added to the text of the question like: MUI_FINISHPAGE_SHOWQUESTION_TEXT (default text can be "Show Readme")

Can somebody tell be how to change the text "Show Readme" on the finish page. Thanks, Sandy
Afrow UK#

!define OPENURL "[url to you're web page]"

!define MUI_TEXT_FINISH_SHOWREADME "Open homepage"
!define MUI_FINISHPAGE_SHOWREADME
!define MUI_FINISHPAGE_SHOWREADME_FUNCTION OpenURL

Function OpenURL
MessageBox MB_YESNO|MB_ICONQUESTION "Would you like to view the application homepage now?" IDNO no-openurl
WriteINIStr "$TEMP\openurl.url" "InternetShortcut" "URL" "${OPENURL}"
ExecShell open "$TEMP\openurl.url"
Delete "$TEMP\openurl.url"
no-openurl:
FunctionEnd
-Stu
Afrow UK#
However, if you use the latest Modern UI in the latest NSIS version (2b4) then you can put a simple link control similar to a webpage link on you're finish page instead.

-Stu
sandrakim90#
I've tried the MUI_FINISHPAGE_LINK and it does not close the installer (correct behavior). I can see its use as an FYI link to a web site. I was looking for a sequential process where the intall process finishes then user goes online to do the next step. I will try your example above. Thanks Sandy.
sandrakim90#
Actually, this will work:

!define MUI_TEXT_FINISH_SHOWREADME "Test-drive online"
!define MUI_FINISHPAGE_SHOWREADME "http://mywebsite"