Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   copy files into destination Computer before installing (http://forums.winamp.com/showthread.php?t=372977)

kleinstein 11th October 2013 06:57

copy files into destination Computer before installing
 
hi,

i have to copy some files into destination Computer $TEMP folder, before "!insertmacro MUI_PAGE_INSTFILES" is called.

normally NSIS copies "all" files "at once" at the end.

But can i copy some of these files before the regular copy-process, so i can use these files during NSIS-Install Pages scrolling?

MSG 11th October 2013 07:42

Yes, you can use the File command in functions, as well as sections. In a page prefunction, for example. Or even in .onInit.

Note that putting stuff in $temp is fine (also consider using $PLUGINSDIR), but you shouldn't make any real changes to a user's system before the instfiles page.

kleinstein 16th October 2013 06:24

Thank you. It works nicely!


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

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.