The simplest solution may be to uninstall the older versions before installing Visual Studio 2019.
https://learn.microsoft.com/en-us/visualstudio/install/install-visual-studio-versions-side-by-side?view=vs-2019
--please don't forget to Accept as answer if the reply is helpful--