Skip to content
⌘ NSIS Forum Archive

File "$0"

3 posts

aemik#

File "$0"

I want to use this:

StrCpy $0 "x.dll"
File "Files\$0" 
But there is always an Errormessage:
File: "Files\$0" -> Files not found-

how can I use Variables on the "File" command?
Afrow UK#
As described in your other topic by Anders:
Are you a developer who uses NSIS to distribute your application? Are you a Winamp plug-in developer who wants to use NSIS to distribute your plug-in? Have suggestions for other people like you? This is the place.


You cannot use run-time variables at compile time. This is a logical impossibility. You want to use !define instead.

Stu