Completely remove all 2010 Redistributables from your system, clear your temporary directory, and run the installer again as an Administrator.
Navigate to the official Visual Studio Older Downloads portal. Visual Studio 2010 Build Tools V100 Download
Please keep in mind that Visual Studio 2010, the v100 toolset, and the Windows 7 SDK have surpassed their official lifecycle support windows. Compilers from this era do not include modern security mitigations (such as advanced Control Flow Guard or Spectre mitigations) and do not support modern C++ standards (C++14, C++17, C++20, and beyond). It is highly recommended to migrate legacy codebases to modern toolsets like v143 (Visual Studio 2022) whenever possible to benefit from better optimization, security, and standards compliance. Compilers from this era do not include modern
Reinstall the Visual C++ 2010 SP1 target pack, or repair the installation through the Windows Control Panel. 2. Side-by-Side Compilation Failures 2. Side-by-Side Compilation Failures