Archive: Authentication page reuse


Authentication page reuse
Hi guys,

I'm searching for a nice solution on how to reuse a custom page.

The situation is the following:

I have a custom page for gathering username and password from the users, in that page I check against a webserver the correct credentials and if ok the software goes forward with installation if not ok it should stay on the same page.

Then problem now is that after a fail try the users can proceed to installation :(

Is it possible to stay somehow in loop on that page until the insered credentials are correct?

Thanks a lot
Cheers
L


got it:

If credentials fails, I call
StrCpy $R9 0
Call RelGotoPage

and

Function RelGotoPage
IntCmp $R9 0 0 Move Move
StrCmp $R9 "X" 0 Move
StrCpy $R9 "120"

Move:
SendMessage $HWNDPARENT "0x408" "$R9" ""
FunctionEnd


nsis.sourceforge.net/Go_to_a_NSIS_page
for more informations