![]() |
suggestion on file usage?
It appears I can't use a variable as argument to the file instruction. For example, file $theFile.
I'm trying to conditionalize where the files to install are located like so: Var /GLOBAL theFile Var /GLOBAL Build StrCpy $Build "Debug" StrCpy $theFile "someDir\$Build\myprog.exe" file $theFile Does anyone has a suggestion on how to do that? thanks in advance. |
Apples and oranges :-)
Compile time and run time. You may use defines. !define Build "Debug" !define THE_FILE "someDir\${Build}\myprog.exe" File "${THE_FILE}" |
thanks.
|
| All times are GMT. The time now is 04:35. |
Copyright © 1999 - 2010 Nullsoft. All Rights Reserved.