Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Adding files at runtime (http://forums.winamp.com/showthread.php?t=270388)

lozio 30th April 2007 12:34

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

Comm@nder21 30th April 2007 14:09

nsis docs: http://nsis.sourceforge.net/Docs/Cha....3.2 CopyFiles

lozio 30th April 2007 15:07

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 30th April 2007 15:26

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.


All times are GMT. The time now is 04:20.

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.