Skip to content
⌘ NSIS Forum Archive

Open file dialog - multi-select question

4 posts

ddalus#

Open file dialog - multi-select question

Hi,

I'm trying to use an "open file" dialog with the option to select multiple files, but it doesn't work:

* Even though I prefer it, InstallOptions doesn't have a documented way to select multiple files.

* I tried to use the "FileRequest" code found on the NSIS Wiki, which does have this option, but the return string is only the containing directory (the first in a sequence of strings), without the selected files (the rest of the strings in the sequence).

Any idea how I can achieve this?
Thanks
Afrow UK#
I think it'd be easier to write a plugin to do this. Perhaps I shall put one together.

For now, make a feature request on the NSIS SourceForge page for InstallOptions (the MULTISELECT key word would be useful in that respect).

Stu
Comm@nder21#
submitted a patch (5minutes work 😁), untested (lack of time now) but should work: