Archive: Query user for information


Query user for information
Is there a way to pop up a question box that has a text field so the user can type in an answer? A way to query them for information like a user name or password.

Thanks~


FAQ entry "How can I get input from the user?" should help you.


In NSIS\Contrib\InstallOptions\test.nsi:
The following line gives the compiler error below. When I remove the line, I can get it to work by calling the function manually, but then the dialog window doesn't close (unless forced by task manager).

Line:
Page custom SetCustom ": Testing InstallOptions"

Error:
...
Processed 1 file, writing output:
Adding plug-ins initializing function... Done!
Error: resolving leave-page function ": Testing InstallOptions" in install pages
Note: uninstall functions must begin with "un.", and install functions must not
Error - aborting creation process


Any Ideas?


You seem to be using an old example with a new version of NSIS. You have probably updated only some of your files to the latest CVS version. When updating, update all of them. Use NSIS Update or the nightly snpashot from http://nsis.sf.net/ to make sure all files are from the same version.