Delphi error F1026

I have this special Delphi XE Edition and want to build the EXE. I get a compiler error F1026 because Finalbuilder does expand the environment variable %BDSPROJECTSDIR% to an english default path name instead of the localized. My path points to "C:\Users\xxx\Documents\RAD Studio\Projekte\apLib" but Finalbuilder uses "C:\Users\xxx\Documents\RAD Studio\Projects\apLib" as I see in the.used file. According to my options it should take the path definitions from the registry.

Rad Studio doesn’t add the BDSPROJECTSDIR environment variable to the registry by default, it defines it in the registry, so we have no way of knowing what the default value is. We handle it internally as the default English value as you see.

The work around is to open XE IDE, Tools , Options, Environment variables, select BDSPROJECTSDIR and then select Add Override, just save it with the value it has. Then go into FinalBuilder, Tools, Options, Embarcadero Delphi, Turn on the “Use Rad Studio XE Environment Variables at Startup”, click ok and then restart FinalBuilder. The BDSPROJECTSDIR variable should now have the correct value.

Thank you, that did it!