Okay, so I have several projects going on and I seem to have spread myself a little thin, that or I am as incompetent as I thought. Either way, new ideas and projects seem to just spring into my head and older projects find new ways to need additions.
I have a small personal project I am just starting, and if all goes well I am looking at about 1 to 1 1/2 years to completion. However, I can't move on until I get this question out of my head:
I am going to be making a self installer for this application (it's a game) and I want a registration of sorts. Basically when you download the exe installer you will get a "password" or registration number if you will. What I would like to know is if it is possible to set up a database where those reg numbers are stored, then when you enter the number in the installer it will check the database. If the number is there it will continue the install, if it is not, it will cancel the install. Here is the bonus trick: a 3 use reg number. Meaning the number given with that particular download can be used 3 times, after the 3rd check of that number in the DB I want it deleted from the database.
So, let's say I have the database set up with 50 registration numbers already in the tables. Then Twey downloads the game and gets the registration number: hg782-p0h48-cc419
He will install the game and will be asked for the reg number. He enters the reg number and it checks the DB, the number is there, and so Twey gets to continue the install. He then passes the .exe and the reg number to John, who does the same thing, who then passes it on to Mike. Once Mike checks the reg number and continues install the reg number is then deleted from the database, so if Mike passes it on the next person would have to get a new registration number.
Does that make sense? And is it possible?
Bookmarks