File Problems
Hello all,
I'm a newbie to NSIS. I'm trying to create an installer.
I've to install some dll files and I'm doing this.
File \path\to\directory\filename.exe
This works fine.
but if i save \path\to\directory in a variable
Var /GLOBAL path
StrCpy $path "\path\to\directory"
and then use File like this
File $path\filename.exe
This fails. NSIS compiler complains that no file with the name $path\filename.exe exists.
How can i pass user defined variables to File.
I've even tried File ${path}\filename.exe.
This also did not work.
Please help me out.
Thanks,
Surya