|
|
#1 |
|
Junior Member
Join Date: Sep 2006
Location: Australia
Posts: 3
|
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. |
|
|
|
|
|
#2 |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
Did you search on PageEx instruction or Dialogs & DialogEx plugins
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Sep 2006
Location: Australia
Posts: 3
|
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. |
|
|
|
|
|
#4 | |
|
Debian user
(Forum King) Join Date: Jan 2003
Location: Arch land
Posts: 4,917
|
Quote:
* PC: Intel Core 2 DUO E6550 @ 2.33 GHz with 2 GB RAM: Archlinux-i686 with MATE. * Laptop: Intel Core 2 DUO T6600 @ 2.20 GHz with 4 GB RAM: Archlinux-x86-64 with MATE. |
|
|
|
|
|
|
#5 | |
|
Junior Member
Join Date: Sep 2006
Location: Australia
Posts: 3
|
Quote:
Thanks again, I implemented it yesterday and it works very well. |
|
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|