Error 1320 indicates that the file path is too long. VS has a heavily nested structure. Ensure you are installing it to a directory like C:\PRogram FIles
or similar. Do not attempt to install it into a long path as this will cause problems. Additionally, while unlikely, make sure you are installing to an NTFS drive and that you are running the latest OS version. Windows long path support was added a while back.
cannot install visual studio 2022 or 2019

get error :
PackageId:Microsoft.Build.FileTracker.Msi;PackageAction:Install;ReturnCode:1320;
-
answered
2023-01-03T16:16:03.987+00:00 Michael Taylor 37,616 Reputation points
9 additional answers
Sort by: Most helpful
-
answered
2023-01-12T07:06:09.09+00:00 André LEFEVER 21 Reputation points -
answered
2023-01-12T07:07:00.97+00:00 André LEFEVER 21 Reputation points -
answered
2023-01-12T15:55:36.8933333+00:00 André LEFEVER 21 Reputation pointsok, I did a lot of research...
about the ps1 file on https://gist.github.com/heaths/77fbe0b44496960fab25c2eb0b9e8475
it did not work on powershell
so I found that ServerManager was not on my PC ( I converted windows 10 to windows11 )
I installed it ... then I had to install NETUI0.dll
I then used the ps1 file (see above) in powershell and it worked.
I tried to intall visual studio 2022 and the result can be found in the attached file sorry.jpg
-
answered
2023-01-13T13:26:20.26+00:00 André LEFEVER 21 Reputation pointsOk found the problem ... => missing file dsref80.dll
so I don't have this problem any more.
now the installation is blocking on
microsoft.visualstudio.community.shared.msi
and when i go to HKEY_LOCAL_MACHINE\SOFTWARE\Classes\TypeLib{7C0FFAB0-CD84-11D0-949A-00A0C91110ED}
I see that the full control = TrustedInstaller
who is that TrustedInstaller ????