Hi,
I have a problem in my Section main,
i want adding a $var in to the path File to copy when install,
I have File /nonfatal /r "${varDir}\${TYPE}\test\$pathspecific"
but the script can't read the value of $pathspecific, how Can I specify this value please?
please can you help me ?
add variable in to main section
5 posts
This has been asked a million times before.
$variables are used at run-time on the end-users machine, you can only use ${defines} with the File instruction since it needs to find the file on the machine where makensis is running.
You can use SetOutPath "$instdir\$pathspecific" etc. to control where a file is written...
$variables are used at run-time on the end-users machine, you can only use ${defines} with the File instruction since it needs to find the file on the machine where makensis is running.
You can use SetOutPath "$instdir\$pathspecific" etc. to control where a file is written...
when i Use SetOutPath i will create my installer diretory
but my problem is how specify the path file to copy in my installer directory
but my problem is how specify the path file to copy in my installer directory
SetOutPath $instdir
File "abc.ext"
SetOutPath "$instdir\foo\$bar"
File "xyz.ext"
File "abc.ext"
SetOutPath "$instdir\foo\$bar"
File "xyz.ext"
Have you even populated your $pathspecific before that point?