Today I was updating my visual studio 2022 from 17.5.5 to 17.8 by using the visual studio installer and I got the next error:
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.VisualCpp.Redist.14,version=14.38.33130,chip=x86' failed to install.
Search URL
https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualCpp.Redist.14;PackageAction=Install;ReturnCode=5
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,version=14.38.33130,chip=x86\VCRedistInstall.ps1""" -PayloadDirectory """C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14,version=14.38.33130,chip=x86""" -Architecture x86 -Logfile """C:\Users\HA847JC\AppData\Local\Temp\dd_setup_20231116145605_263_Microsoft.VisualCpp.Redist.14.log"""; exit $LastExitCode"
Return code: 5
Return code details: Access is denied.
Log
C:\Users\HA847JC\AppData\Local\Temp\dd_setup_20231116145605_263_Microsoft.VisualCpp.Redist.14.log
Impacted workloads
.NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,version=17.8.34129.139,productarch=x64)
ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=17.8.34129.139,productarch=x64)
Azure development (Microsoft.VisualStudio.Workload.Azure,version=17.8.34129.139)
Data storage and processing (Microsoft.VisualStudio.Workload.Data,version=17.8.34129.139)
Impacted components
.NET Debugging with WSL (Microsoft.VisualStudio.Component.WslDebugging,version=17.8.34129.139)
.NET desktop development tools (Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites,version=17.8.34129.139)
.NET profiling tools (Microsoft.VisualStudio.Component.DiagnosticTools,version=17.8.34129.139)
ASP.NET and web development prerequisites (Microsoft.VisualStudio.Component.Web,version=17.8.34129.139)
ASP.NET and web development prerequisites (Microsoft.VisualStudio.ComponentGroup.Web,version=17.8.34129.139)
Azure Cloud Services core tools (Microsoft.VisualStudio.Component.Azure.Waverton,version=17.8.34129.139)
Azure Cloud Services tools (Microsoft.VisualStudio.ComponentGroup.Azure.CloudServices,version=17.8.34129.139)
Azure development prerequisites (Microsoft.VisualStudio.ComponentGroup.Azure.Prerequisites,version=17.8.34129.139)
Azure Resource Manager core tools (Microsoft.VisualStudio.Component.Azure.ResourceManager.Tools,version=17.8.34129.139)
Azure Resource Manager tools (Microsoft.VisualStudio.ComponentGroup.Azure.ResourceManager.Tools,version=17.8.34129.139)
Azure WebJobs Tools (Component.Microsoft.VisualStudio.Web.AzureFunctions,version=17.8.34129.139)
C# and Visual Basic (Microsoft.VisualStudio.Component.Roslyn.LanguageServices,version=17.8.34129.139)
Cloud tools for web development (Microsoft.VisualStudio.ComponentGroup.Web.CloudTools,version=17.8.34129.139)
Data sources for SQL Server support (Microsoft.VisualStudio.Component.SQL.DataSources,version=17.8.34129.139)
Development tools for .NET (Microsoft.NetCore.Component.DevelopmentTools,version=17.8.34129.139)
Development tools for Azure Functions and Azure WebJobs (Microsoft.VisualStudio.ComponentGroup.AzureFunctions,version=17.8.34129.139)
F# language support (Microsoft.VisualStudio.Component.FSharp,version=17.8.34129.139)
F# language support for web projects (Microsoft.VisualStudio.Component.FSharp.WebTemplates,version=17.8.34129.139)
IntelliTrace (Microsoft.VisualStudio.Component.IntelliTrace.FrontEnd,version=17.8.34129.139)
Live Share (Component.Microsoft.VisualStudio.LiveShare.2022,version=1.0.5886)
Live Unit Testing (Microsoft.VisualStudio.Component.LiveUnitTesting,version=17.8.34129.139)
Managed Desktop Workload Core (Microsoft.VisualStudio.Component.ManagedDesktop.Core,version=17.8.34129.139)
Razor Language Services (Component.Microsoft.VisualStudio.RazorExtension,version=17.8.34129.139)
Redgate SQL Change Automation 2022 (Component.Redgate.ReadyRoll.VS2022,version=4.6.23194.1777)
SQL Server Data Tools (Microsoft.VisualStudio.Component.SQL.SSDT,version=17.8.34129.139)
Web development tools for .NET (Microsoft.NetCore.Component.Web,version=17.8.34129.139)