Archive: Verifying serial number


Verifying serial number
Hi i am making setup using NSIS and i need a help, my query is..
How to create a popup that says "Please wait... Verifying your serial number". I need code .please help me......
I am using Mordern MUI2 for NSIS...Any help will be appreciated.


Search for "banner"


serial code verification
Thanks for reply,
I am attaching a bmp file for help , please go through it , as after entering the serial code in the first picture and click the next button it show the 2nd picture.. how to do this ..Any help will be appreciated ...


As I said, that's called a banner.
Search for it, there a couple of examples of a banner.


I have searched for banner ,there is lots of post there in the forum but unable to find the real one . please help me


Please try to learn to look for information yourself. I googled for 'nsis banner' and the first two hits were already very usable.


Ok thanks for replying i am trying ,lets see if i will find the solution by my self


hello

post your script here to help u. i used ******odern UI to create that pop up Banner, check the attachement.


thanks anandharaja for replying can you give me the code behind the zip file you have sended.....


Serial Page Script available in this forum

"http://forums.winamp.com/showthread.php?threadid=275503&highlight=serial"

find these line in the above mention forum

## Pop values from stack
Pop $R0
Pop $R1
Pop $R2
Pop $R3
Pop $R4

Banner::show "Please Wait....Your Serial Number is Validating..."

## A bit of validation

You have to add the bold line to your script.


thanks for replying anandharaja .....


Verifying serial number(Banner::show)
hey anandharaja the code which you have given

Banner::show "Please Wait....Your Serial Number is Validating..."

i have done that its is coming fine but the problem is that the pop up message which is coming is not ending after the serial code page to the installation page to the finish page ....that is the problem for understanding i am attaching a file for help......the attachment shows that after submitting the serial code and entering the ok button the 2nd image is coming which is not valid ......how to correct that..


You need to destroy the banner after success serial number or invalid serial. now you add the bold text in your script.

Bad:
Banner::destroy
MessageBox MB_OK|MB_ICONEXCLAMATION "The entered username or password is incorrect!"
Delete "$PLUGINSDIRserial.txt"
Abort

Good:
Banner::destroy
Delete "$PLUGINSDIRserial.txt"
FunctionEnd


i hope this will help you


thanks anandharaja, its working ......