Hello there,
Glad to hear it is sorted also as a note, The first thing to check is whether or not the issue you're encountering is a known issue with the Visual Studio Installer that Microsoft is working on fixing.
To see if there's a workaround for your problem, check Known Issues of Visual Studio 2019 and Known Issues of Visual Studio 2022.
https://learn.microsoft.com/en-us/visualstudio/releases/2019/release-notes#-known-issues
This troubleshooting guide includes step-by-step instructions to resolve common issues with Visual Studio installation and upgrade. https://learn.microsoft.com/en-us/troubleshoot/developer/visualstudio/installation/troubleshoot-installation-issues
Hope this resolves your Query !!
--If the reply is helpful, please Upvote and Accept it as an answer–