Old 3rd February 2009, 10:03   #1
RikSaunderson
Junior Member
 
Join Date: Feb 2009
Posts: 3
Binary Registry Keys

Hello,
I'm trying to create a license key by hashing the windows product key so that the user can't simply copy the .exe's across.
The problem that I have is that the windows product key is a binary key, and NSIS only seems to be able to recover string keys or DWORD keys. Is there any way to get round this in NSIS, or do I need to write a c++ .exe to do the license key generation and execute it from NSIS?
Thanks,
Rik
RikSaunderson is offline   Reply With Quote
Old 3rd February 2009, 10:57   #2
kichik
M.I.A.
[NSIS Dev, Mod]
 
kichik's Avatar
 
Join Date: Oct 2001
Location: Israel
Posts: 11,343
You can use the Registry plug-in.

http://nsis.sourceforge.net/Registry_plug-in

NSIS FAQ | NSIS Home Page | Donate $
"I hear and I forget. I see and I remember. I do and I understand." -- Confucius
kichik is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump