Skip to content
⌘ NSIS Forum Archive

Adding files at runtime

4 posts

lozio#

Adding files at runtime

Hi
I searched the docs and forum but found no answer to my problem.
I created a package that need to gather 2 files at install time, and put them into a specific dir of my installation.
These can be put in a specific directory (say: desktop) before starting the installer.
Anyone as an idea?

Thanks
lozio#
Thanks, your searching capabilities are far better than mine 🙂
Any ideas on the way to have the source files asked at install time (just like [browse...])?
Thanks again
Red Wine#
Browse if you want the end user to specify where those files are located, in this case you should set up a custom page with a DirRequest/FileRequest control.
Also you may do the search kinda unattended e.g. in function .onInit with ${Locate} before installer's gui comes up.