Can't install visual studio due to Microsoft.VisualStudio.Setup.Configuration

Cade Kiser 31 Reputation points
2022-11-22T00:18:37.207+00:00

It won't let me install visual studio at all simple as that.
This is the log it gave me:

Something went wrong with the install.

You can troubleshoot the package failures by:

1. Search for solutions using the search URL below for each package failure  
2. Modify your selections for the affected workloads or components and then retry the installation  
3. Remove the product from your machine and then install again  

If the issue has already been reported on the Developer Community, you can find solutions or workarounds there. If the issue has not been reported, we encourage you to create a new issue so that other developers will be able to find solutions or workarounds. You can create a new issue from within the Visual Studio Installer in the upper-right hand corner using the "Provide feedback" button.

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

Package 'Microsoft.VisualStudio.Setup.Configuration,version=3.4.1128.26111' failed to install.
Search URL
https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualStudio.Setup.Configuration;PackageAction=Install;ReturnCode=2
Details
MSI: C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualStudio.Setup.Configuration,version=3.4.1128.26111\Microsoft.VisualStudio.Setup.Configuration.msi, Properties: REBOOT=ReallySuppress ARPSYSTEMCOMPONENT=1 ALLUSERS="1" MSIFASTINSTALL="7"
Return code: 2
Return code details: The system cannot find the file specified.
Log
C:\Users\kiser\AppData\Local\Temp\dd_setup_20221121191440_015_Microsoft.VisualStudio.Setup.Configuration.log
Impacted workloads
.NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,version=17.4.33006.217,productarch=x64)
Game development with Unity (Microsoft.VisualStudio.Workload.ManagedGame,version=17.4.33006.217)
Visual Studio core editor (Microsoft.VisualStudio.Workload.CoreEditor,version=17.4.33006.217)
Impacted components
.NET desktop development tools (Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites,version=17.4.33006.217)
.NET Framework 4.7.2 development tools (Microsoft.Net.ComponentGroup.DevelopmentPrerequisites,version=17.4.33006.217)
.NET profiling tools (Microsoft.VisualStudio.Component.DiagnosticTools,version=17.4.33006.217)
Blend for Visual Studio (Microsoft.ComponentGroup.Blend,version=17.4.33006.217)
C# and Visual Basic (Microsoft.VisualStudio.Component.Roslyn.LanguageServices,version=17.4.33006.217)
ClickOnce Publishing (Microsoft.Component.ClickOnce,version=17.4.33006.217)
Development tools for .NET (Microsoft.NetCore.Component.DevelopmentTools,version=17.4.33006.217)
Entity Framework 6 tools (Microsoft.VisualStudio.Component.EntityFramework,version=17.4.33006.217)
F# language support (Microsoft.VisualStudio.Component.FSharp,version=17.4.33006.217)
JavaScript and TypeScript language support (Microsoft.VisualStudio.Component.JavaScript.TypeScript,version=17.4.33006.217)
Just-In-Time debugger (Microsoft.VisualStudio.Component.Debugger.JustInTime,version=17.4.33006.217)
Live Share (Component.Microsoft.VisualStudio.LiveShare.2022,version=1.0.5716)
Managed Desktop Workload Core (Microsoft.VisualStudio.Component.ManagedDesktop.Core,version=17.4.33006.217)
NuGet package manager (Microsoft.VisualStudio.Component.NuGet,version=17.4.33006.217)
Text Template Transformation (Microsoft.VisualStudio.Component.TextTemplating,version=17.4.33006.217)
Visual Studio core editor (Microsoft.VisualStudio.Component.CoreEditor,version=17.4.33006.217)
Visual Studio Tools for Unity (Microsoft.VisualStudio.Component.Unity,version=17.4.33006.217)

Visual Studio
Visual Studio
A family of Microsoft suites of integrated development tools for building applications for Windows, the web and mobile devices.
4,813 questions
0 comments No comments
{count} vote

Accepted answer
  1. Tianyu Sun-MSFT 28,851 Reputation points Microsoft Vendor
    2022-11-22T07:05:15.563+00:00

    Hi @Cade Kiser ,

    Welcome to Microsoft Q&A forum.

    Please try following suggestions:

    1. navigate to C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualStudio.Setup.Configuration,version=3.4.1128.26111 folder and double click to run Microsoft.VisualStudio.Setup.Configuration.msi file manually, if it exists.
    2. If above file doesn’t exist, please first try to backup this folder and remove this folder, then repair/continue your installation.
    3. If this issue persists, please check if any installed/used antivirus/proxy/extension/group policy blocks you from installing this package. Disable any of them, if possible, to test.
    4. Besides, please make sure that you have full permissions for your machine.

    Feel free to contact us.

    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

3 additional answers

Sort by: Most helpful
  1. Cade Kiser 31 Reputation points
    2022-11-22T18:54:41.4+00:00

    Thank you! I figured out the folder permissions were all screwed up. The only one who had access was my account (system had no permission), so I deleted the visual studio folder in programdata so it could create a new one and it's installing now

    1 person found this answer helpful.
    0 comments No comments

  2. AndreaGobs 1 Reputation point
    2022-12-16T09:53:34.09+00:00

    I have the same issue and both your solutions don't work for me.
    Double clicking the "Microsoft.VisualStudio.Setup.Configuration.msi" file I have this error message: "the system has set policies to prevent this installation".
    Deleting the folder doesn't work.
    Disable antivirus doesn't work.


  3. z Lê 0 Reputation points
    2024-01-13T05:38:20.0666667+00:00

    help me I have the same problemmm

    0 comments No comments