Error installing TMS FlexCel for VCL & FMX v7.22.1


08-09-2024_20-30-20

I have already checked that $(PATH) exists in the environment variables.

Same problem with Delphi XE and Delphi Tokyo

Please help

Regards
Job Espejel

Hi,
If you are getting this error in all Delphis, then the problem likely is that your Windows Path has grown too big. Sadly Windows silently ignores the last parts of the paths when they are too big, and it give the exact error you are giving.

Can you try going to start menu, type "environment variables" and select "Edit Environment Variables for your account"?

Then look at the path in "User Variables":

Press edit and move it to the top. You might want to also remove unused paths from "System Variables->Path" below, as the Windows path is "System Path" + "User Path" and so all system path variables go before the user path (Where FlexCel is). All unused entries in the system path are making it longer, and might cause the install to fail.

Hello,

Everything is working fine with Delphi Tokyo and Rio, thank you. However, I’m still encountering the same error with Delphi XE. Could you suggest any other solutions I might try?

TIA
Job Espejel

There is not much more that I can think of. The causes for that error are always a wrong Windows Path. That can be caused by 2 things:

  1. A too long windows path. If this is the case, you will get the error in all delphis, as you were getting. But if it works now in Tokyo and Rio, then that's not it.
  2. The missing $(PATH) entry in the delphi environment variables. This is the normal cause when it happens only in one Delphi as it is happening now.

You've mentioned:

I have already checked that $(PATH) exists in the environment variables.

But can you recheck that in XE? Could it be that $(PATH) is present in Rio and Tokyo but not in XE?