Winamp & Shoutcast Forums

Winamp & Shoutcast Forums (http://forums.winamp.com/index.php)
-   NSIS Discussion (http://forums.winamp.com/forumdisplay.php?f=65)
-   -   Another Question about File function (http://forums.winamp.com/showthread.php?t=255847)

aryu 20th September 2006 09:06

Another Question about File function
 
I want to get the name and path of the files to be installed from a file list, then extract them to the destination.
But I got some problems when I try to use :
File $Path$Name
It will display: "File: "$path$name" -> File not found"
Why?

Afrow UK 20th September 2006 11:14

You're confusing run time variables such as $path with compile time instructions such as File.

http://nsis.sourceforge.net/Invoking...n_compile-time

You'll have to read from the list with FileOpen, FileRead and FileClose.

-Stu


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

Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.