Solution
This error can occur when you are performing a SystemLink installation under a long Windows username and you are including the SystemLink TDM Analysis Server Add-On. The username becomes part of a path for the installer script and if it's too long, the path ends up exceeding the
maximun (default) Windows path length limitation.
To address this, enable Windows long path support::
- Launch the Registry Editor application (you can search for it in your Windows search bar).
- Navigate to Computer >> HKEY_LOCAL_MACHINE >> SYSTEM >> ControlSet001 >> Control >> FileSystem.
- Search for the LongPathsEnabled key and set it to 1.
After the installation you can set the LongPathsEnabled key back to 0 if you prefer so.