Prev Previous Post   Next Post Next
Old 3rd March 2009, 06:48   #1
marcel-slip
Junior Member
 
Join Date: Jun 2007
Location: Poland
Posts: 16
Question [question] actions for batton

Hello,

I have a question.
How to detect on your own page (IO) pressing Next, Cancel, Back?
I would like to assign some actions for them.
I have this function:

Quote:
Function sprawdzanie
!insertmacro INSTALLOPTIONS_DISPLAY "some.ini"
!insertmacro INSTALLOPTIONS_READ $R9 "some.ini" "Field 1" "State"
WriteRegStr HKLM "Software\Tclanydy\sygypy" "SerialNumber" $R9

System::Call '$TEMP\eInsuect\test.dll::test() i() .r3'
${If} $3 == '0'
MessageBox MB_OK "The serial number is invalid"
GoTo Again
${ElseIf} $3 == '1'
Abort
${EndIf}

FunctionEnd


The function works correctly. But
When I press Cancel again to verify the key, as is the press on the Back. To go further I need to provide a valid key; /

Last edited by marcel-slip; 3rd March 2009 at 08:06.
marcel-slip is offline   Reply With Quote
 
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