Skip to content
⌘ NSIS Forum Archive

User Input

4 posts

ViperInc#

User Input

Hi

just wondering wether you can get the user to enter, (for example their name) when installing and get the program to recognise it.
I want the usre to put in there name, and get the program to thank them at the end.

is it possible???
muz#
you can do this by using a neat little program that locnar42
made, check this from to see about it
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.
ViperInc#
..
that not what im really lookin for...

ah
ill just make up my own in vb.
wont take too long....

thanx
locnar42#
it slices, it dices, it cuts through a tin can

The Install Options program will do what you are looking for, you just define what you want the window to look like in the INI file and then run it during the installation process.
If you want the user's name, just add 2 fields. the first is a label control with text "Enter your name:" and the second a text control. When the user clicks ok, it saves the results back into the INI file and you can read it into the installer.

If there is something else you are looking for, let me know. I am still actively writing the program and would be happy to add whatever you are wanting.

Defining the INI file is the only complicated part and I have a visual editor for that about 3/4 complete.