Error during update of Visual Studio 17.10.4

Ankur Dixit 0 Reputation points
2024-07-19T07:52:21.2533333+00:00

I recently updated the Visual Studio 2022 to 17.10.4 and during the update it gave me this issue now I am unable to use the Visual Studio 2022 tried everything to resolve this issue, Opened with Administrator Account, gave permission to temp log directory, deleted all the existing logs even tried uninstalling the Visual Studio 2022 but now I am completely helpless Unable to Install the Visual Studio 2022

Regards

Ankur DixitUser's image

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
5,193 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

1 answer

Sort by: Most helpful
  1. Anna Xiu-MSFT 29,831 Reputation points Microsoft Vendor
    2024-07-19T10:23:24.2933333+00:00

    Hi @Ankur Dixit

    Welcome to Microsoft Q&A! 

    Have you checked the specific error messages in the installation logs file? It is located at %temp% folder and recorded in this file (dd_setup_xxxx_Microsoft.VisualCpp.Redist.14.log). 

    Please verify that you, Administrators and SYSTEM have sufficient permission like Full Control/Read/Write to C:\Windows\Temp and C:\Windows\Installer. Then clear C:\Windows\Temp and reboot your computer. 

    Then, please try to change the installation log path via the following steps and retry the installation:

    • Launch command prompt as administrator

    • Type “set tmp=C:\Temp” and “set temp=C:\Temp”

    • Launch installer from this command prompt.

     

    If it doesn’t work, you can uninstall all the Visual C++ Redistributable items in Programs and Features, then, manually download and install the latest supported Visual C++ Redistributable from the page:

    Latest supported Visual C++ Redistributable downloads | Microsoft Learn 

    After installing it, please retry the VS installation.

    Sincerely,

    Anna


    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

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.