Skip to content
⌘ NSIS Forum Archive

NSIS questions

6 posts

Xi0Ns#

NSIS questions

Hi, i am using the NSIS since some weeks, and making great installers.

My questions are this:

1) How can i make, with the modern UI, when the instfiles page finishes, to avoid it going directly into the next page?

2) In the last page i give the option to launch the app (code below this lines), but i also want to put a checkbox to allow the user to view my web page in his/her browser. ¿How can i do so?

;Finishpage
!define MUI_FINISHPAGE_RUN "$INSTDIR\MYAPP.exe"
!define MUI_FINISHPAGE_RUN_TEXT "Launch MYAPP"
Afrow UK#
1) Use !define MUI_FINISHPAGE_NOAUTOCLOSE.
2) Use !define MUI_FINISHPAGE_SHOWREADME [url] as well as what you are already using.

-Stu
Xi0Ns#
Thanks, the first answer is fine, but the second, i dont really get how to do it, because i want the setup to launch the system's default browser with an adress. something like:

Launch the application
Go to www.mywebsite.com

(With the checkboxes beside the texts, in the left)

Thanks for your help 😉
Afrow UK#
!define MUI_FINISHPAGE_SHOWREADME "http://www.mywebsite.com"
!define MUI_FINISHPAGE_SHOWREADME_TEXT "Go to www.mywebsite.com"

Edit: Or you could just have a link to the webpage on the Finish page, like the NSIS installer has. Use:
MUI_FINISHPAGE_LINK [text] and MUI_FINISHPAGE_LINK_LOCATION [url]

-Stu