Old 23rd November 2005, 13:36   #1
Xi0Ns
Junior Member
 
Join Date: Nov 2005
Posts: 9
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"
Xi0Ns is offline   Reply With Quote
Old 23rd November 2005, 14:16   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
1) Use !define MUI_FINISHPAGE_NOAUTOCLOSE.
2) Use !define MUI_FINISHPAGE_SHOWREADME [url] as well as what you are already using.

-Stu
Afrow UK is offline   Reply With Quote
Old 23rd November 2005, 16:02   #3
Xi0Ns
Junior Member
 
Join Date: Nov 2005
Posts: 9
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
Xi0Ns is offline   Reply With Quote
Old 23rd November 2005, 17:13   #4
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
!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
Afrow UK is offline   Reply With Quote
Old 23rd November 2005, 17:19   #5
Xi0Ns
Junior Member
 
Join Date: Nov 2005
Posts: 9
Thanks, this is what i wanted mate..
Xi0Ns is offline   Reply With Quote
Old 23rd November 2005, 17:23   #6
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
It's all in the Modern UI readme under Docs\Modern UI

-Stu
Afrow UK is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump