Thanks. Compiler Variables were actually the first thing I tried: I need to set another version value depending on another compiler variable:
(#MyVersion# is set to 0.8 in project options)
Code: Select all
[compiler if Variable CUSTOMER Equals FOO]
Set Variable #MyVersion# to 0.9
[compiler end]
Install Files #PROJDIR#\..\Helper-#MyVersion#\helper.exe to $TargetDir$\helper
I'm not sure about the way to set #MyVersion#, but I can't seem to find how to do it in script, and there is no command "compiler variable set" or "set compiler variable".
The result with above code is: It still resolves to "0.8".