Archive: InputBox plugin


InputBox plugin
Hi,

I've created a plugin for NSIS that can display an InputBox. This is very handy for quickly asking for a password, serial etc., without using the whole InstallOptions stuff.

I always wanted NSIS to include such a function (hint, hint ;) ) and since I wanted to practice writing plugins for NSIS I created this. It's merely a wrapper for Delphi's InputBox-function.

It should be very easy to use. You just push three strings (caption, prompt and default value) onto the stack and call the function 'ShowInputBox'. The plugin will return the input from the user onto the stack.

There are some problems though...

You can download the plugin from this location:

http://home.studenten.net/~wowleon/InputBox.zip

I hope you like it...

Greetings,

Leon Zandman

Why not create, with IO DLL, a textbox with password and stuff?
Although that feature can be handy in IO itself.


Good work.
I'm sure a Win32 call with the System dll would have done the same job?

-Stu


Yes, using the System plug-in would be a better solution (and it saves 300 KB).


I doubt that's possible but brainsucker would probably know better.