Xi0Ns
23rd November 2005 14:36 UTC
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
23rd November 2005 15:16 UTC
1) Use !define MUI_FINISHPAGE_NOAUTOCLOSE.
2) Use !define MUI_FINISHPAGE_SHOWREADME [url] as well as what you are already using.
-Stu
Xi0Ns
23rd November 2005 17:02 UTC
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
23rd November 2005 18:13 UTC
!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
Xi0Ns
23rd November 2005 18:19 UTC
Thanks, this is what i wanted mate.. ;)
Afrow UK
23rd November 2005 18:23 UTC
It's all in the Modern UI readme under Docs\Modern UI
-Stu