Could not install Microsoft Visual C++ 14

Thomas Gallagher 21 Reputation points
2022-06-20T07:44:56.427+00:00

Something went wrong with the install. Please see logs below:

================================================================================

Package 'Microsoft.VisualCpp.Redist.14.Latest,version=14.32.31327,chip=x86' failed to install.
Search URL
https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualCpp.Redist.14.Latest;PackageAction=Install;ReturnCode=-2147023274
Details
Command executed: "c:\windows\syswow64\windowspowershell\v1.0\powershell.exe" -NoLogo -NoProfile -Noninteractive -ExecutionPolicy Unrestricted -InputFormat None -Command "& """C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14.Latest,version=14.32.31327,chip=x86\VCRedistInstall.ps1""" -PayloadDirectory """C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14.Latest,version=14.32.31327,chip=x86""" -Architecture x86 -Logfile """C:\Users\Tom Gallagher\AppData\Local\Temp\dd_setup_20220620083803_001_Microsoft.VisualCpp.Redist.14.Latest.log"""; exit $LastExitCode"
Return code: -2147023274
Return code details: Error opening installation log file. Verify that the specified log file location exists and that you can write to it.
Log
C:\Users\Tom Gallagher\AppData\Local\Temp\dd_setup_20220620083803_001_Microsoft.VisualCpp.Redist.14.Latest.log
Impacted workloads
Desktop development with C++ (Microsoft.VisualStudio.Workload.VCTools,version=17.2.32526.322)
Impacted components
C++ 2022 Redistributable Update (Microsoft.VisualStudio.Component.VC.Redist.14.Latest,version=17.2.32408.312)
C++ CMake tools for Windows (Microsoft.VisualStudio.Component.VC.CMake.Project,version=17.2.32408.312)
C++ core desktop features (Microsoft.VisualStudio.ComponentGroup.NativeDesktop.Core,version=17.2.32408.312)
MSVC v143 - VS 2022 C++ x64/x86 build tools (Latest) (Microsoft.VisualStudio.Component.VC.Tools.x86.x64,version=17.2.32408.312)

Any help appreciated :)

C++
C++
A high-level, general-purpose programming language, created as an extension of the C programming language, that has object-oriented, generic, and functional features in addition to facilities for low-level memory manipulation.
3,764 questions
Visual Studio Setup
Visual Studio Setup
Visual Studio: A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.Setup: The procedures involved in preparing a software program or application to operate within a computer or mobile device.
1,050 questions
{count} votes

Accepted answer
  1. Tianyu Sun-MSFT 31,326 Reputation points Microsoft Vendor
    2022-06-20T12:51:23.407+00:00

    Hi @Thomas Gallagher ,

    Welcome to Microsoft Q&A forum.

    If you right-click the Microsoft.VisualCpp.Redist.14.Latest,version=14.32.31327,chip=x86 folder > Properties > Security > Edit… > can you confirm that the Write/Modify/Full control permissions have been assigned to the related users?

    If you are using any proxy, or your machine is included in group policy, or you don’t have admin permissions, you may need to communicate with your administrator.

    Besides, you may try to install this package manually(vc_redist.x86.exe), from here: Microsoft Visual C++ Redistributable latest supported downloads. Download the package, and open CMD(run as administrator) > type the directory of this package into CMD like C:\XXXX\VC_redist.x86.exe > press Enter. After installing this package, then continue installing VS 2022.

    Since this issue is mostly caused by permissions not assigned, you may also try to right-click the VS setup file > run as administrator to start installing VS.

    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.
    0 comments No comments

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.