Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Copy some files? (http://forums.winamp.com/showthread.php?t=258719)

P.Lukas 1st November 2006 10:08

Copy some files?
 
Hello,

i'm very new @ NSIS and my question is how i can copy some files from a folder to a folder?

thx in advance!

kichik 1st November 2006 10:13

CopyFiles.

P.Lukas 1st November 2006 10:14

i tried

CopyFiles "$INSTDIR\OfTWE.exe" "$DESKTOP\OfTWE.exe"

but i get an error

Error: command CopyFiles not valid outside section or function
Error in script "C:\Dokumente und Einstellungen\l.prelovsky\Desktop\Installer\Outlook.nsi" on line 4 -- aborting creation process

kichik 1st November 2006 10:17

Commands ran at runtime, when the user actually installs your software, must be located inside a function or a section. I suggest you read the tutorial and have a look at the examples located in the Examples folder before you start with your first script.

P.Lukas 1st November 2006 10:20

okay thank you, will read it!


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

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.