Archive: Installing files as an Array


Installing files as an Array
Hi,
I'm trying to keep installation files as an array. So I'm using the NSISArray plug-in. My script is as follows.

;--------------------------------

${Array} "FileList" 5 2
${ArrayFunc} WriteList
${ArrayFunc} Read

Section

${FileList->Init}
${FileList->WriteList} 'A.dll B.dll C.dll D.dll E.exe'

Var /GLOBAL i
${ForEach} $i 0 4 + 1
${FileList->Read} $0 $i
File /oname=$0 $0
${Next}

SectionEnd

;--------------------------------

But since "File /oname=$0 $0" says no file found, I cannot copy installation files to the folder. How can I copy these files within the loop?


You're confusing run time and compile time.

Stu


So how can I do it, isn't this possible?