TobWen
8th November 2001 23:59 UTC
Message-Dialog to enter USERNAME & SERIAL
Hi there,
I am going to write a shareware-software.
When people buy the serial, they can enter it in the program.
The entered number (etc.) should be handled as a variable.
So you can write them to the serial etc.
How can I do that?
Thanks
Tobias
liquidmotion
9th November 2001 00:22 UTC
to get the serial/user, you can probably use the messagebox command, and do an inputbox. not sure exactly, check the nsis docs.
locnar42
9th November 2001 03:27 UTC
use Install Options :)
It will allow you to create a dialog window which fits right inside the NSIS window.
BitRider
18th November 2001 22:15 UTC
Make an external program
Make a little external program which ask for the registration data an check it in the way you want, make it return non 0 if all went right, otherwise 0 .Then simply package it you installation, extract to temp dir, ExecWait & check error flag.
spanky
18th November 2001 23:22 UTC
Re: Make an external program
Originally posted by BitRider
Make a little external program which ask for the registration data an check it in the way you want, make it return non 0 if all went right, otherwise 0 .Then simply package it you installation, extract to temp dir, ExecWait & check error flag.
I agree. If you use a modified version of NSIS you will be stuck with it. (unless the author keeps his modifications up to date)
You may even want to include this addition into the application itself so it will prompt the user when it first runs.