simham_uk
17th February 2003 19:01 UTC
Demo Versions and License Keys etc
Has anyone came up with a reliable method for providing license keys for their installs (is their a MD5hash type DLL about).
If their was such a DLL then of course I could ask them for the ifo, and store it in the reg or an INI file, but I ahvent seen anything that can do hashing yet for NSIS.
On another note, is their a way I can get TODAY's date from the computer I'm working on, for creating demo versions of my packages, that timebomb in 30 days or something.
Nevermind about the date thingy, just found NSISdt in the Archive:
http://nsis.sourceforge.net/archive/download.php
I know it's not really in the spirit of free software, but its what I'm being asked to do.
Thanks in advance!
simham_uk
17th February 2003 21:13 UTC
I have found a freeware md5 DLL here.
Perhaps someone could show an example of how to use system::call ...with this DLL to get the hash of a string (there is a readme and VB BAS file in the zip).
Can't get my head around that system thingy at all...LOL
Thanks
Joel
17th February 2003 21:17 UTC
Why not use Install Options to make a dialog with serial or password?
simham_uk
17th February 2003 21:23 UTC
That's what I intend to do, but ask that they enter their name and a lincense key, then store that info in an INI file or the registry, and then query the name against the license key everytime it is run.
This way I can add "salt" to the string and generate license keys for use in distribution.
Unless you have a way to do this without the need for an external hashing DLL?
Thanks for you input!
kichik
18th February 2003 15:50 UTC
This one might help you:
http://forums.winamp.com/showthread....&highlight=md5