Archive: copy files into destination Computer before installing


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?


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.


Thank you. It works nicely!