Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 15th May 2009, 11:50   #1
jeusdi
Junior Member
 
Join Date: Jul 2008
Posts: 26
Rains on page until correct data

Hello froum. I have a custom page

code:
Page custom UserPage UserPageLeave


On UserPageLeave, I need to control if $User, $Passwd and $Mail variables contain correct values as:

code:

${NSD_GetText} $UserText $User
${NSD_GetText} $MailText $Mail
${NSD_GetText} $PasswdText $Passwd
${If} $User = ""
${OrIf} $Mail = ""
${OrIf} $Passwd = ""
MessageBox...
${EndIf}



On ***, I need to remain on current page until the variables contain correct values. Now, I show a message box but when the user click on this message box, this installer show the following page.

Can you help me, please?
Thanks for all.
jeusdi is offline   Reply With Quote
Old 15th May 2009, 13:07   #2
Animaether
Major Dude
 
Join Date: Jun 2001
Posts: 1,173
Call Abort in the page's leave function - that will abort the leave procedure and thus let you stay on the current page.
Animaether is offline   Reply With Quote
Reply
Go Back   Winamp 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