Old 11th October 2013, 07:57   #1
kleinstein
Junior Member
 
Join Date: Aug 2013
Posts: 15
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?
kleinstein is offline   Reply With Quote
Old 11th October 2013, 08:42   #2
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
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.
MSG is offline   Reply With Quote
Old 16th October 2013, 07:24   #3
kleinstein
Junior Member
 
Join Date: Aug 2013
Posts: 15
Thank you. It works nicely!
kleinstein is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump