'Microsoft.VisualCpp.Redist.14,version=14.32.31327,chip=x86' failed to install.

Yuppski 41 Reputation points
2022-06-19T07:24:14.467+00:00

I've tried to install VS 2022 several times now with one occasion of a complete uninstall but always get:-

Something went wrong with the install.
212694-vs-2022-install.jpg

212618-vs-2022-installing.jpg

212734-vs-2022-install-error.jpg

dd_setup_20220619081106_errors.log:-

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.32.31327,chip=x86' failed to install.  
    Search URL  
        https://aka.ms/VSSetupErrorReports?q=PackageId=Microsoft.VisualCpp.Redist.14;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,version=14.32.31327,chip=x86\VCRedistInstall.ps1""" -PayloadDirectory """C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14,version=14.32.31327,chip=x86""" -Architecture x86 -Logfile """C:\Users\Andrews XPS\AppData\Local\Temp\dd_setup_20220619081106_001_Microsoft.VisualCpp.Redist.14.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\Andrews XPS\AppData\Local\Temp\dd_setup_20220619081106_001_Microsoft.VisualCpp.Redist.14.log  
    Impacted workloads  
        .NET desktop development (Microsoft.VisualStudio.Workload.ManagedDesktop,version=17.2.32408.312)  
        ASP.NET and web development (Microsoft.VisualStudio.Workload.NetWeb,version=17.2.32408.312)  
        Mobile development with .NET (Microsoft.VisualStudio.Workload.NetCrossPlat,version=17.2.32503.295)  
    Impacted components  
        .NET Debugging with WSL (Microsoft.VisualStudio.Component.WslDebugging,version=17.2.32408.312)  
        .NET desktop development tools (Microsoft.VisualStudio.Component.ManagedDesktop.Prerequisites,version=17.2.32408.312)  
        .NET profiling tools (Microsoft.VisualStudio.Component.DiagnosticTools,version=17.2.32408.312)  
        ASP.NET and web development prerequisites (Microsoft.VisualStudio.Component.Web,version=17.2.32408.312)  
        ASP.NET and web development prerequisites (Microsoft.VisualStudio.ComponentGroup.Web,version=17.2.32408.312)  
        Azure WebJobs Tools (Component.Microsoft.VisualStudio.Web.AzureFunctions,version=17.2.32408.312)  
        Azure WebJobs Tools (Microsoft.VisualStudio.ComponentGroup.AzureFunctions,version=17.2.32408.312)  
        C# and Visual Basic (Microsoft.VisualStudio.Component.Roslyn.LanguageServices,version=17.2.32408.312)  
        Cloud tools for web development (Microsoft.VisualStudio.ComponentGroup.Web.CloudTools,version=17.2.32408.312)  
        Data sources for SQL Server support (Microsoft.VisualStudio.Component.SQL.DataSources,version=17.2.32408.312)  
        Development tools for .NET (Microsoft.NetCore.Component.DevelopmentTools,version=17.2.32408.312)  
        F# language support (Microsoft.VisualStudio.Component.FSharp,version=17.2.32408.312)  
        F# language support for web projects (Microsoft.VisualStudio.Component.FSharp.WebTemplates,version=17.2.32408.312)  
        Live Share (Component.Microsoft.VisualStudio.LiveShare.2022,version=1.0.5545)  
        Managed Desktop Workload Core (Microsoft.VisualStudio.Component.ManagedDesktop.Core,version=17.2.32408.312)  
        Razor Language Services (Component.Microsoft.VisualStudio.RazorExtension,version=17.2.32408.312)  
        SQL Server Data Tools (Microsoft.VisualStudio.Component.SQL.SSDT,version=17.2.32408.312)  
        Web development tools for .NET (Microsoft.NetCore.Component.Web,version=17.2.32408.312)  
        Xamarin (Component.Xamarin,version=17.2.32408.312)  
  

dd_setup_20220619081106_001_Microsoft.VisualCpp.Redist.14.log:-
[3388:0006][2022-06-19T08:11:36] 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.32.31327,chip=x86\VCRedistInstall.ps1""" -PayloadDirectory """C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14,version=14.32.31327,chip=x86""" -Architecture x86 -Logfile """C:\Users\Andrews XPS\AppData\Local\Temp\dd_setup_20220619081106_001_Microsoft.VisualCpp.Redist.14.log"""; exit $LastExitCode"
[3388:0006][2022-06-19T08:11:36] Transcript started, output file is C:\Users\Andrews XPS\AppData\Local\Temp\dd_vcredist_wrapper_x86_20220619081134.log
Installing Visual C++ Redist
Inputs:
PayloadDirectory: C:\ProgramData\Microsoft\VisualStudio\Packages\Microsoft.VisualCpp.Redist.14,version=14.32.31327,chip=x86
Architecture: x86
LogFile: C:\Users\Andrews XPS\AppData\Local\Temp\dd_setup_20220619081106_001_Microsoft.VisualCpp.Redist.14.log
VersionToInstall:
Environment:
WINDIR: C:\WINDOWS
TEMP: C:\Users\Andrews XPS\AppData\Local\Temp
system directory: C:\WINDOWS\System32
native reg. key: HKLM:\Software\Microsoft\VisualStudio\14.0\VC\Runtimes\x86
WOW64 reg. key: HKLM:\Software\WOW6432Node\Microsoft\VisualStudio\14.0\VC\Runtimes\x86
Installing x86 Visual C++ Runtime on AMD64 system
No version registered
Initial file version: multiple versions found
Inconsistent VC runtime install detected: registry version does not match file version
Inconsistent VC runtime install detected: not all files have same version
concrt140.dll: 14.15.26706.0
mfc140.dll: 14.0.24210.0
mfc140chs.dll: 14.0.24210.0
mfc140cht.dll: 14.0.24210.0
mfc140deu.dll: 14.0.24210.0
mfc140enu.dll: 14.0.24210.0
mfc140esn.dll: 14.0.24210.0
mfc140fra.dll: 14.0.24210.0
mfc140ita.dll: 14.0.24210.0
mfc140jpn.dll: 14.0.24210.0
mfc140kor.dll: 14.0.24210.0
mfc140rus.dll: 14.0.24210.0
mfc140u.dll: 14.0.24210.0
msvcp140.dll: 14.15.26706.0
msvcp140_1.dll: 14.15.26706.0
msvcp140_2.dll: 14.15.26706.0
msvcp140_atomic_wait.dll: not installed
msvcp140_codecvt_ids.dll: not installed
vcamp140.dll: not installed
vccorlib140.dll: 14.15.26706.0
vcomp140.dll: not installed
vcruntime140.dll: 14.15.26706.0
mfcm140.dll: 14.0.24210.0
mfcm140u.dll: 14.0.24210.0
Information: initial VC runtime install is not consistent
Redist Installer Version: 14.32.31326.0
Redist Exit Code: -2147023274
No version registered
Updated file version: multiple versions found
Inconsistent VC runtime install detected: registry version does not match file version
Inconsistent VC runtime install detected: not all files have same version
concrt140.dll: 14.15.26706.0
mfc140.dll: 14.0.24210.0
mfc140chs.dll: 14.0.24210.0
mfc140cht.dll: 14.0.24210.0
mfc140deu.dll: 14.0.24210.0
mfc140enu.dll: 14.0.24210.0
mfc140esn.dll: 14.0.24210.0
mfc140fra.dll: 14.0.24210.0
mfc140ita.dll: 14.0.24210.0
mfc140jpn.dll: 14.0.24210.0
mfc140kor.dll: 14.0.24210.0
mfc140rus.dll: 14.0.24210.0
mfc140u.dll: 14.0.24210.0
msvcp140.dll: 14.15.26706.0
msvcp140_1.dll: 14.15.26706.0
msvcp140_2.dll: 14.15.26706.0
msvcp140_atomic_wait.dll: not installed
msvcp140_codecvt_ids.dll: not installed
vcamp140.dll: not installed
vccorlib140.dll: 14.15.26706.0
vcomp140.dll: not installed
vcruntime140.dll: 14.15.26706.0
mfcm140.dll: 14.0.24210.0
mfcm140u.dll: 14.0.24210.0
Skipping soft-reboot check: updated VC runtime install is not consistent
Skipping soft-reboot check: redist exit code was not ERROR_SUCCESS_REBOOT_REQUIRED (3010)
Reasons for skipping soft-reboot check:
redist exit code was not ERROR_SUCCESS_REBOOT_REQUIRED (3010)
Wrapper Exit Code: -2147023274
Transcript stopped, output file is C:\Users\Andrews XPS\AppData\Local\Temp\dd_vcredist_wrapper_x86_20220619081134.log

How do I resolve this as I don't have the option to build ASP.net.

Thanks

Developer technologies | Visual Studio | Setup
0 comments No comments
{count} vote

Accepted answer
  1. Anna Xiu-MSFT 31,056 Reputation points Microsoft External Staff
    2022-06-20T03:46:23.103+00:00

    Hi @Yuppski ,

    Welcome to Microsoft Q&A!

    From looking at your logs, Package ‘Microsoft.VisualCpp.Redist.14,version=14.32.31327,chip=x86’ failed to install due to “Error opening installation log file. Verify that the specified log file location exists and that you can write to it”.

    Can you tell us if you have 3rd party anti-virus software enabled or enterprise group policy in place that is restricting you? If so, please temporarily disable them.
    And 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 to repair the installation.

    If it persists, 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.

    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.

    2 people found this answer helpful.

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.