skrymir
24th August 2001 22:52 UTC
Another directory selection window question.
So I uses my one shot at directory selection to ask the user where some software is installed. Then I check for the executable for that application, if it exists cool, if not then I would like to ask them to pick another location. Is there a way to go back and have the user select a directory again?
In reading the responses to my last post (thanks) I doubt that there is, but I thought I would ask.
Thanks,
Josh
DuaneJeffers
25th August 2001 01:38 UTC
Nope again. And make sure your posts dealing with the same thing be put in the same thread.
-DJ
skrymir
25th August 2001 03:08 UTC
Thanks for the info.
I will make sure I'm under the right thread in the future.
pjw62
25th August 2001 14:49 UTC
You have the source code for NSIS, so such a feature could be added fairly easily.
Peter.
pjw62
26th August 2001 20:12 UTC
I was bored..
So I added this feature to the source code myself and compiled it into the DLL version of makensis.
you just "SHBrowseForFolder $(0-9|INSTDIR|OUTDIR)" and the folder is inserted into the named variable.
the problem is that the exe header is now 39.5kb ;(
http://www.incomplete.co.uk/nsis.htm
please note; this is probably only a temp solution, so dont get too dependent on it. When the official next release of the code comes out, the SHBrowseForFolder function may not be there.
Peter.