Go Back   Winamp Forums > Developer Center > NSIS Discussion

Reply
Thread Tools Search this Thread Display Modes
Old 7th May 2012, 18:40   #1
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
nsKeyHook plug-in

Wrote this small plug-in so I could validate input of a product key in a client's installer. They've let me release it . You can handle WM_CHAR for example to only allow alphanumeric input and WM_PASTE to only allow paste of alphanumeric text. You can also handle WM_PASTE to automatically fill all product key fields (e.g. 5 text boxes for a 25 character product key).
Quote:
Allows handling of WM_CHAR, WM_KEYDOWN, WM_KEYUP and WM_PASTE through NSIS script. WM_CHAR in particular can be used to validate input by
suppressing or allowing certain keystrokes.
See the example scripts and readme for more information.

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

Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Old 8th May 2012, 05:13   #2
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,840
Great stuff, thanks for sharing!
MSG is online now   Reply With Quote
Old 9th May 2012, 04:32   #3
T.Slappy
Senior Member
 
T.Slappy's Avatar
 
Join Date: Jan 2006
Location: Slovakia
Posts: 364
Send a message via ICQ to T.Slappy
Heh, cool job man!

Create cool looking Graphical Installers in NSIS: www.graphical-installer.com -see below
I offer NSIS scripting, C/C++/C#/Delphi programming: www.unsigned-softworks.sk
Develop NSIS projects directly in Visual Studio 2005-2012: www.unsigned-softworks.sk/visual-installer/
T.Slappy is offline   Reply With Quote
Old 12th July 2012, 15:05   #4
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Birmingham, England
Posts: 8,202
New version.
Quote:
1.0.0.1 - 12th July 2012
* Fixed crash on XP.
Stu

Need an installer? http://www.afrowsoft.co.uk
Afrow UK is offline   Reply With Quote
Reply
Go Back   Winamp 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