Skip to content
⌘ NSIS Forum Archive

Message Box to Input Information

4 posts

ssurfer26#

Message Box to Input Information

ok I've been reading up on this but I'm still a little lost. How can I have a page where the user can input his/her name and reg code and import that into the registry? I can import things into the registry fine but how do you get a dialog box to appear where they can enter in the information which gets passed on to the WriteRegStr command?

Someone mentioned .onNextPage would do the trick but I'm lost with that one.

Any help/ideas?
Derek
Guest#
Derek,

construct an INI file that will be loaded by the .onNextPage and .onPrevPage functions. Take a look at the example by Justin (in the installer of NSIS 1.91). Then use a checker to check the regcode and if correct, to save it into the registry for later use.

Please remember that there's an NSIS extractor available on the web so RegCode could fail to do what it's designed for....

Good luck, i'll send you my file if necessary,
greetz Hendri.
ssurfer26#
You'd better send an example. I'm brain dead right now. To much going on right now... Is there a pause button?

Thanks for your help,
Derek
Guest#
hi ssurfer26

Please take a look at the original post for RegCode:
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.


I posted an example for RegCode there.

Good luck, greetz, Hendri.