Install Error: PATH too long

Hi everyone! I hope you are fine.

I’m trying to install the .exe version of ROOT 5.34.36 on Windows 10 choosing the option “Add ROOT to the system path for all users” and when the installation is running shows up an alert that sais something like “WARNING:The PATH name is too long”, and suddenly the process ends. Obviously, I guess, that’s not a good ending, or complete, and therefore ROOT maybe won’t run so well.

Can I solve that problem? I need that option (Access to all users) to run ROOT into the cmd. That’s the matter. I’ve checked if I got the appropiate Microsoft Visual C++ version but I’m not sure. I have the 2008,2009,2010,2012,2013 and 2017.

Do you know what the problem is?

Thank you very much.
root2 root3


We are aware of this problem, but no idea where it comes from. We will investigate.

Cheers, Bertrand.

I also saw this problem while installing ROOT6 on Windows 7 64-bits. Should we open a JIRA ticket to keep in mind this issue?

You can find plenty of posts …

Fix 260 character file name length limitation
Why does the 260 character path length limit exist in Windows?

Limitation to the length of the System PATH variable
What is the maximum length of an environment variable?

1 Like

The problem comes from the installer, not from ROOT or from Visual Studio

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.