Push "MyFileName.txt"
Call MyFunction
The install build croaks on the "File $0" line saying that file $0 is not found. I'm assuming that File doesn't replace the $0 with the string that I passed through the stack.Function MyFunction
Exch $0
File $0 ; Add the file named "MyFileName.txt" to the install package
...
Do some other things
...
FunctionEnd
Is there any way to get File to work in this fashion? Or, do I have to hardcode all of the filenames for File?
Thanks.
-Tony