Skip to content
⌘ NSIS Forum Archive

Path for the installl files as a vairable?

3 posts

Benni_P#

Path for the installl files as a vairable?

Hello,
is it possible to enter a variable instead of the path?
e.g. File "$FOO\Test.txt" instead of File "C:\Test\Test.txt"
So that I only need to change the variable instead of all paths in the script.

Thx
Benni_P
Joel#
In my case I use something like:

!define RESPATH "c:\files"

File ${RESPATH}\*.*
File ${RESPATH}\xml\xml.xml
I say yes! 😁