Archive: Prompt user to locate a file?


Prompt user to locate a file?
Hey guys.

I have finished coding my installer using NSIS, but there are a few little features that I'd like to sort out to make it more 'user-friendly'.
The main one that I'm having trouble with is being able to prompt the user to locate a file (this will be inside a certain section). Basically, the user has selected a certain install configuration at the components page which enables them to use their own file in the installation progress, and I want to be able to prompt them for that file's location to be able to use it.
Right now I've basically told the user, with a messagebox, to place the file (named exactly a certain name) on the Desktop so I can pick it up. Of course, as you can imagine, this isn't very friendly and could be a lot better using a prompt.

I've searched extensively (well, at least, I'd like to think so) and haven't found anything on the matter, so I was wondering if anybody around here has some method to do this.
Thanks in advance.


Did you search on PageEx instruction or Dialogs & DialogEx plugins


PageEx wouldn't work, as this can only happen inside a section (unless I use SectionGetFlags I guess). The plug-in will, though.

Considering that I couldn't get any good results by typing 'nsis dialogs' into Google just then, it must've been pretty well hidden :/

Looks like you made this one yourself.
Thanks for it.


Originally posted by Taake

Considering that I couldn't get any good results by typing 'nsis dialogs' into Google just then, it must've been pretty well hidden :/
Did you try the same search query on wiki

Originally posted by Joel
Did you try the same search query on wiki
Not initially, no. I searched the wiki, but didn't look in the Plugins category.
Thanks again, I implemented it yesterday and it works very well.