You can set the compiler version in the action’s BeforeAction script event which will allow you to change the compiler version based on an action list parameter. The property name is ‘CompilerVersion’ and is an integer. The possible values are:
If you have the “Use Global Delphi Library Path” option checked then it will use the correct library path (although it will not show the correct lib path in the edit field). When that option is not checked, the action has control over the library path. If you want more control over the library path then you can use a variable for it instead, and set the variable value based on the compiler version you are using.