Veeam Backup & Replication 11 Setup Failed: Path Length Fix

I came across the following error whilst trying to install Veeam Backup & Replication 11.0.0.837 on Windows Server 2022:

Installation logs are saved under:

in BackupSuite_DD_MM_YYY_HH_MM_SS.txt format but they do not necessarily give away the reason for the setup failure:

One thing that caught my eye in the logs though was the section that was started just before the errors began to flood in i.e.:

so I’ve started to dig into the prereqs needed by Veeam Backup & Replication and the first one the installer is trying to tick off the list is Microsoft SQL Server 2016 Service Pack 2 Express since I am not using external Microsoft SQL Server database:

Initialising the installation of Microsoft SQL Server 2016 Service Pack 2 Express manually shows the real reason the Veeam setup is actually failing, the path to the installation files is too long, therefore, causing failures. My files are in the following path:

which is too long so shortening it fixed the issue and Veeam Backup & Replication installed just fine!

For another Veeam troubleshooting tip, see how to change a Veeam Endpoint Backup backup name after renaming a source computer.