Old 20th September 2006, 09:06   #1
aryu
Junior Member
 
Join Date: Sep 2006
Posts: 4
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?
aryu is offline   Reply With Quote
Old 20th September 2006, 11:14   #2
Afrow UK
Moderator
 
Afrow UK's Avatar
 
Join Date: Nov 2002
Location: Surrey, England
Posts: 8,434
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
Afrow UK 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