Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   NSIS questions (http://forums.winamp.com/showthread.php?t=231754)

Xi0Ns 23rd November 2005 13:36

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 14:16

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 16:02

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 17:13

!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 17:19

Thanks, this is what i wanted mate.. ;)

Afrow UK 23rd November 2005 17:23

It's all in the Modern UI readme under Docs\Modern UI

-Stu


All times are GMT. The time now is 05:17.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.