Hello Andre,
Welcome to Microsoft Q&A forum.
Please navigate to this directory: "C:\ProgramData\Microsoft\VisualStudio\Packages_Instances\XXXXXXXX", rename the state.json file and repair/continue the installation of VS.
If this doesn’t work, please try to remove following folders, and reinstall VS.
C:\Program Files (x86)\Microsoft Visual Studio
C:\Program Files\Microsoft Visual Studio
%programdata%\Microsoft\visualstudio\packages
Feel free to let us know the result.
Best Regards,
Tianyu
If the answer is the right solution, please click "Accept Answer" and kindly upvote it. If you have extra questions about this answer, please click "Comment".
Note: Please follow the steps in our documentation to enable e-mail notifications if you want to receive the related email notification for this thread.