Visual Studio 2013 is quite old and is now out of support. Versions of the .Net Framework 4.x lower than 4.7 are also out of support.
The registry editor image that was posted shows that the Windows 10 system already has .Net Framework version 4.8.1 installed. You can refer to .NET Framework versions and dependencies for more information about various versions of the .Net Framework and the Windows systems on which they are installed/installable.
Since the system already has 4.8.1 installed you cannot install a lower version of the framework. You should be able to target a lower version when you build your project and it should be able to run on a system with 4.8.1 installed.
However, assuming that you satisfy license requirements available at Visual Studio License Directory, my recommendation is to install a current, supported version of Visual Studio Community 2022 and the related Visual Studio Installer Projects extension.