none
Visual C++ Redistributable for Visual Studio 2015 RC fails on Windows Server 2012

    Question

  • Using Windows Server 2012 R2 VHD.

    Installation of Visual C++ Redistributable for Visual Studio 2015 RC fails on Windows Server 2012. During install it tries to run Windows8.1-KB2999226-x64.msu which fails because it's not supported by machine (verified it using manual install attempt of Windows8.1-KB2999226-x64.msu).

    Attempt to run application compiled with VS2015 RC gives the following error:

    System Error
    ---------------------------
    The program can't start because api-ms-win-crt-stdio-l1-1-0.dll is missing from your computer. Try reinstalling the program to fix this problem. 

    Edit: I have managed to install the redistributable package manually (installed KB2999226 with pkgmgr) but the error on application launch is still there "api-ms-win-crt-stdio-l1-1-0.dll is missing". Any workaround?

    ----

    The relevant parts of the log:

    [0A30:088C][2015-05-06T11:06:51]i319: Applied execute package: vcRuntimeMinimum_x86, result: 0x0, restart: None
    [09A8:09B8][2015-05-06T11:06:51]i325: Registering dependency: {714692fa-709b-4925-8170-821d51135f42} on package provider: Microsoft.VS.VC_RuntimeMinimumVSU_x86,v14, package: vcRuntimeMinimum_x86
    [09A8:09B8][2015-05-06T11:06:51]i301: Applying execute package: vcRuntimeAdditional_x86, action: Install, path: C:\ProgramData\Package Cache\{848AD311-5F42-3DF2-A4AC-376D839FB720}v14.0.22816\packages\vcRuntimeAdditional_x86\vc_runtimeAdditional_x86.msi, arguments: ' MSIFASTINSTALL="7" NOVSUI="1"'
    [0A30:088C][2015-05-06T11:06:52]i319: Applied execute package: vcRuntimeAdditional_x86, result: 0x0, restart: None
    [09A8:09B8][2015-05-06T11:06:52]i325: Registering dependency: {714692fa-709b-4925-8170-821d51135f42} on package provider: Microsoft.VS.VC_RuntimeAdditionalVSU_x86,v14, package: vcRuntimeAdditional_x86
    [09A8:09B8][2015-05-06T11:06:52]i301: Applying execute package: Windows81_x64, action: Install, path: C:\ProgramData\Package Cache\469A82B09E217DDCF849181A586DF1C97C0C5C85\packages\Patch\x86\Windows8.1-KB2999226-x64.msu, arguments: '"C:\Windows\SysNative\wusa.exe" "C:\ProgramData\Package Cache\469A82B09E217DDCF849181A586DF1C97C0C5C85\packages\Patch\x86\Windows8.1-KB2999226-x64.msu" /quiet /norestart'
    [09A8:09B8][2015-05-06T11:06:53]e000: Error 0x80240017: Failed to execute MSU package.
    [0A30:088C][2015-05-06T11:06:53]e000: Error 0x80240017: Failed to configure per-machine MSU package.
    [0A30:088C][2015-05-06T11:06:53]i319: Applied execute package: Windows81_x64, result: 0x80240017, restart: None
    [0A30:088C][2015-05-06T11:06:53]e000: Error 0x80240017: Failed to execute MSU package.




    • Edited by Roee Shlomo Wednesday, May 06, 2015 9:03 PM
    Wednesday, May 06, 2015 6:21 PM

All replies

  • Hi Roee Shlomo,

    After the researching, Visual Studio 2015 RC could be installed on the Windows Server 2012. And I can find from your log file that it maybe this package Windows8.1-KB2999226-x64.msu is not setup successfully. Can you help to check the package of the Visual Studio 2015 RC is a good package?

    You can use the FCIV.exe to get the SHA1 of Visual Studio 2015 RC, for the resource and the use of the FCIV, please refer to the following link:

    http ://blogs.msdn.com/b/heaths/archive/2011/03/25/verify-the-iso-checksum-for-visual-studio-2010-service-pack-1-before-installing.aspx

    I'm not a verified user, so I insert the blank after the "http".

    If the SHA1 doesn’t equal  “BF92E1718234568BEB72D00FFEDD5E259E5CB3BE”, it indicates that your package is not a good package, then you can re-download and reinstall it.

    If the SHA1 equals “BF92E1718234568BEB72D00FFEDD5E259E5CB3BE”, I’m not sure of the reason because lack of info,  I need your full logs to analyze, and could you help to collect the log for me according to the following steps:

    1) Download the Microsoft Visual Studio and .NET Framework Log Collection tool(http ://www.microsoft.com/en-us/download/details.aspx?id=12493).

    2) Run the collect.exe tool from the directory where you saved the tool.

    3) The utility creates a compressed cabinet file of all the VS and .NET logs to %temp%\vslogs.cab.

    4) Post the vslogs.cab file with some descriptions of your issue to the forum.

    Hope this information is helpful.

    Best Regards,

    AngeliaLi

    • Proposed as answer by Gupstik Wednesday, June 08, 2016 12:58 AM
    Thursday, May 07, 2015 6:20 AM
  • I was referring to the installation of "Visual C++ Redistributable for Visual Studio 2015 RC" (www.microsoft.com/en-us/download/details.aspx?id=46881). In the download page it states: 

    The Visual C++ Redistributable Packages install run-time components that are required to run C++ applications that are built by using Visual Studio 2015 RC.

    However:

    (1) This installation fails without latest windows updates (I think the relevant one is KB2919355, which isn't listed in the requirements section of the download page).

    (2) Even after successful installation (of both x86 and x64 versions), the api-ms-win-crt-*-l1-1-0.dll files are missing. They are only available after installation of Visual Studio 2015 RC itself. They are actually installed on the very beginning of the VS installation, not sure at which step.

    Edit: I should note that a full installation of VS 2015 RC allows running applications built with it, this is what I ended up doing eventually.

    Edit: Also, the preview builds of VS 2015 did not suffer from this issue. A simple installation of the redistributable package worked back then (though the redist packages where not publicly available for download of course).  

    Thanks,

    Roee.



    Thursday, May 07, 2015 9:09 AM
  • Hi Roee Shlomo,

    Have you installed Preview before and do you mean that the previous Preview version does not reproduce this error? Besides, does the "dll missing" error message pop up when you run the application? And could you provide the log files to me? You can use the collect.exe to collect the logs for me, as I mentioned previously.

    Best Regards,

    AngeliaLi

    Thursday, May 07, 2015 9:58 AM
  • Hello,

    I have the same problem on my corporate PC.

    When I try to install Visual Studio 2015 RC on my corporate computer (with admin rights), I got an error:

    [17A0:23AC][2015-05-12T09:34:46]i301: Applying execute package: Windows81_x64, action: Install, path: C:\ProgramData\Package Cache\469A82B09E217DDCF849181A586DF1C97C0C5C85\packages\Patch\x86\Windows8.1-KB2999226-x64.msu, arguments: '"C:\Windows\SysNative\wusa.exe" "C:\ProgramData\Package Cache\469A82B09E217DDCF849181A586DF1C97C0C5C85\packages\Patch\x86\Windows8.1-KB2999226-x64.msu" /quiet /norestart'
    [17A0:23AC][2015-05-12T09:34:46]e000: Error 0x80070005: Failed to open WU service.
    [17A0:23AC][2015-05-12T09:34:46]e000: Error 0x80070005: Failed to ensure WU service was enabled to install MSU package.
    [17A0:23AC][2015-05-12T09:34:46]e000: Error 0x80070005: Failed to execute MSU package.
    [2220:3204][2015-05-12T09:34:46]e000: Error 0x80070005: Failed to configure per-machine MSU package.
    [2220:3204][2015-05-12T09:34:46]i000: MUX:  Installation size in bytes for package: Windows81_x64 MaxAppDrive: 0  MaxSysDrive: 0  AppDrive: 0  SysDrive: 0
    [2220:3204][2015-05-12T09:34:46]i000: MUX:  Return Code:0x80070005 Msi Messages:0 Result Detail:0 Restart:None
    [17A0:318C][2015-05-12T09:34:46]i304: Verified existing payload: vcRuntimeDebugD14_x86 at path: C:\ProgramData\Package Cache\.unverified\vcRuntimeDebugD14_x86.
    [17A0:318C][2015-05-12T09:34:46]i305: Verified acquired payload: vcRuntimeDebugD14_x86 at path: C:\ProgramData\Package Cache\.unverified\vcRuntimeDebugD14_x86, moving to: C:\ProgramData\Package Cache\{AD866A36-8D3B-3B3F-AC36-51998D7FF08B}v14.0.22816\packages\vcRedistD14\debug\x86\vc_runtimeDebug_x86.msi.

    I found that the error is causing this prerequisite

    "Visual C++ Redistributable for Visual Studio 2015 RC"

    https://www.microsoft.com/en-us/download/details.aspx?id=46881

    When I try to install it separately, I get the same error.

    The installation on my HOME PC was without problems.

    On bot PCs (Corporate, and HOME) there was Preview version of visual studio 2015 installed before.

    My config:

    Windows 8.1, VS 2013, Timezone UTC+1 (Bratislava, Prague), 

    Please can you try to help me out ?

    Regards,

     Michal

    Tuesday, May 12, 2015 7:48 AM
  • Hello,

    I have the same problem on my corporate PC.

    When I try to install Visual Studio 2015 RC on my corporate computer (with admin rights), I got an error:

    [17A0:23AC][2015-05-12T09:34:46]i301: Applying execute package: Windows81_x64, action: Install, path: C:\ProgramData\Package Cache\469A82B09E217DDCF849181A586DF1C97C0C5C85\packages\Patch\x86\Windows8.1-KB2999226-x64.msu, arguments: '"C:\Windows\SysNative\wusa.exe" "C:\ProgramData\Package Cache\469A82B09E217DDCF849181A586DF1C97C0C5C85\packages\Patch\x86\Windows8.1-KB2999226-x64.msu" /quiet /norestart'
    [17A0:23AC][2015-05-12T09:34:46]e000: Error 0x80070005: Failed to open WU service.
    [17A0:23AC][2015-05-12T09:34:46]e000: Error 0x80070005: Failed to ensure WU service was enabled to install MSU package.
    [17A0:23AC][2015-05-12T09:34:46]e000: Error 0x80070005: Failed to execute MSU package.
    [2220:3204][2015-05-12T09:34:46]e000: Error 0x80070005: Failed to configure per-machine MSU package.
    [2220:3204][2015-05-12T09:34:46]i000: MUX:  Installation size in bytes for package: Windows81_x64 MaxAppDrive: 0  MaxSysDrive: 0  AppDrive: 0  SysDrive: 0
    [2220:3204][2015-05-12T09:34:46]i000: MUX:  Return Code:0x80070005 Msi Messages:0 Result Detail:0 Restart:None
    [17A0:318C][2015-05-12T09:34:46]i304: Verified existing payload: vcRuntimeDebugD14_x86 at path: C:\ProgramData\Package Cache\.unverified\vcRuntimeDebugD14_x86.
    [17A0:318C][2015-05-12T09:34:46]i305: Verified acquired payload: vcRuntimeDebugD14_x86 at path: C:\ProgramData\Package Cache\.unverified\vcRuntimeDebugD14_x86, moving to: C:\ProgramData\Package Cache\{AD866A36-8D3B-3B3F-AC36-51998D7FF08B}v14.0.22816\packages\vcRedistD14\debug\x86\vc_runtimeDebug_x86.msi.

    I found that the error is causing this prerequisite

    "Visual C++ Redistributable for Visual Studio 2015 RC"

    https://www.microsoft.com/en-us/download/details.aspx?id=46881

    When I try to install it separately, I get the same error.

    The installation on my HOME PC was without problems.

    On bot PCs (Corporate, and HOME) there was Preview version of visual studio 2015 installed before.

    My config:

    Windows 8.1, VS 2013, Timezone UTC+1 (Bratislava, Prague), 

    Please can you try to help me out ?

    Regards,

     Michal

    Hi Michal, AngeliaLi,

    I'm encountering a similar issue on my corporate machines. 

    On a separate new VM that I spun up 2012R2 and did an installation of TFS2015RC followed by VS2015RC, installation went through successfully.

    However, on a corporate VM that was previously upgraded from 2012 to 2012R2, I get the error

    [1E58:06CC][2015-05-26T15:07:39]i301: Applying execute package: Windows81_x64, action: Install, path: C:\ProgramData\Package Cache\469A82B09E217DDCF849181A586DF1C97C0C5C85\packages\Patch\x86\Windows8.1-KB2999226-x64.msu, arguments: '"C:\Windows\SysNative\wusa.exe" "C:\ProgramData\Package Cache\469A82B09E217DDCF849181A586DF1C97C0C5C85\packages\Patch\x86\Windows8.1-KB2999226-x64.msu" /quiet /norestart'

    [1E58:06CC][2015-05-26T15:07:39]e000: Error 0x80070005: Failed to open WU service.

    [1E58:06CC][2015-05-26T15:07:39]e000: Error 0x80070005: Failed to ensure WU service was enabled to install MSU package.

    [1E58:06CC][2015-05-26T15:07:39]e000: Error 0x80070005: Failed to execute MSU package.

    [091C:14C8][2015-05-26T15:07:39]e000: Error 0x80070005: Failed to configure per-machine MSU package.

    [091C:14C8][2015-05-26T15:07:39]i000: MUX:  Installation size in bytes for package: Windows81_x64 MaxAppDrive: 0  MaxSysDrive: 0  AppDrive: 0  SysDrive: 0

    For my VMs, there was no prior installation of VS2015 Previews.  Please also advise if the logs would be useful. 

    Tuesday, May 26, 2015 8:44 AM
  • We experience the same problem on some systems. The error in the log:

    [07A8:190C][2015-06-06T18:39:14]i001: Burn v3.7.3813.0, Windows v6.3 (Build 9600: Service Pack 0), path: C:\Users\user\AppData\Local\Temp\nsr8154.tmp\vcredist_x64.exe, cmdline: '/install /quiet /norestart -burn.unelevated BurnPipe.{9D291F17-13AD-4C2D-B536-EBF6E8366D4A} {B626883C-787D-40EC-9B3C-3F492046B24C} 3260'
    ....
    [0CBC:1898][2015-06-06T18:40:24]i301: Applying execute package: Windows81_x64, action: Install, path: C:\ProgramData\Package Cache\469A82B09E217DDCF849181A586DF1C97C0C5C85\packages\Patch\amd64\Windows8.1-KB2999226-x64.msu, arguments: '"C:\WINDOWS\SysNative\wusa.exe" "C:\ProgramData\Package Cache\469A82B09E217DDCF849181A586DF1C97C0C5C85\packages\Patch\amd64\Windows8.1-KB2999226-x64.msu" /quiet /norestart'
    [0CBC:1898][2015-06-06T18:42:05]e000: Error 0x80240016: Failed to execute MSU package.
    [07A8:190C][2015-06-06T18:42:05]e000: Error 0x80240016: Failed to configure per-machine MSU package.


    The error string:
    0x80240016 -2145124330 SUS_E_INSTALL_NOT_ALLOWED try to install while another install is going on or reboot is pending

    There was no pending reboot and I do not think there were any pending updates as the system has just been restarted.

    The worst part about this situation is that the installation of the VC Redist 2015 stays in a "incomplete" state. Manually running the vcredist_x64.exe will not try to install the failed MSU: Windows8.1-KB2999226-x64.msu (KB2999226)

    Workaround

    Reinstall (Uninstall, Install) vcredist.


    • Edited by Euclid Saturday, June 06, 2015 6:53 PM
    Saturday, June 06, 2015 6:27 PM
  • This is because the OS failed to install the required update Windows8.1-KB2999226-x64.msu.

    However, you can install it by extracting that update to a folder (e.g. XXXX), and execute following cmdlet:

    DISM.exe /Online /Add-Package /PackagePath:XXXX\Windows8.1-KB2999226-x64.cab

    Then, try to install or repair the Visual C++ Redistributable.
    Friday, June 19, 2015 3:02 AM
  • You can find the Windows8.1-KB2999226-x64.msu at below.

    C:\ProgramData\Package Cache\469A82B09E217DDCF849181A586DF1C97C0C5C85\packages\Patch\amd64\Windows8.1-KB2999226-x64.msu

    copy this file to a folder you like, and

    > wusa.exe Windows8.1-KB2999226-x64.msu /extract:XXXX

    > DISM.exe /Online /Add-Package /PackagePath:XXXX\Windows8.1-KB2999226-x64.cab

    > vc_redist.x64.exe /repair

    this works for me.

    • Proposed as answer by ridekorn Wednesday, July 22, 2015 1:51 PM
    Tuesday, July 14, 2015 12:24 PM
  • I have the same issue with Windows 7 Windows6.1-KB2999226-x64.msu.

    A manual install of the KB completes successfully,  However, vc_redist.x64.exe still fails with the same error.

    Any ideas? 

    Friday, July 17, 2015 4:14 PM
  • hi Todd

    on Monday July 20th Visual Studio 2015 will be officially released.

    is there a special reason why you try to install prerelease vc_redist - could it not wait Monday?


    Please use Mark as Answer if my post solved your problem and use Vote As Helpful if a post was useful.

    Friday, July 17, 2015 6:29 PM
  • I am having the same problem with the release version of vc_redist.x64.exe from the release version of VS 2015 released today.

    On my Window 7 machine, vc_redist.x64.exe will not install since the installation of Windows6.1-KB2999226-x64.msu fails.

    When I try to install Windows6.1-KB2999226-x64.msu manually, I get the message: "This update is not  applicable for your computer".

    This will make it really difficult to deploy our applications compiled in VS2015 if people can't install vc_redist.x64.exe for VS2015.

    Monday, July 20, 2015 8:03 PM
  • When installing VC2015 (downloaded in the last hour) I get the same error as mentioned above;

    [11EC:0E9C][2015-07-20T20:55:50]i301: Applying execute package: Windows7_MSU_x64, action: Install, path: C:\ProgramData\Package Cache\42D5BEC7DDFBD49E76467529CBC2868987BF8460\packages\Patch\x64\Windows6.1-KB2999226-x64.msu, arguments: '"C:\Windows\SysNative\wusa.exe" "C:\ProgramData\Package Cache\42D5BEC7DDFBD49E76467529CBC2868987BF8460\packages\Patch\x64\Windows6.1-KB2999226-x64.msu" /quiet /norestart'
    [11EC:0E9C][2015-07-20T20:55:50]e000: Error 0x80070005: Failed to open WU service.
    [11EC:0E9C][2015-07-20T20:55:50]e000: Error 0x80070005: Failed to ensure WU service was enabled to install MSU package.
    [11EC:0E9C][2015-07-20T20:55:50]e000: Error 0x80070005: Failed to execute MSU package.
    [2324:13FC][2015-07-20T20:55:50]e000: Error 0x80070005: Failed to configure per-machine MSU package.

    Update:

    Issue solved; I downloaded and mounted the 2015 ISO, manually executed the command in the above text box to install KB2999226, manually downloaded and installed dotnetfw4.6 (not sure if this was necessary). Ran vs_community from the ISO, this time installation ran through without any issues.

    I notce that some people below have also found similar fixes.


    Monday, July 20, 2015 8:16 PM
  • Cant install 2015 release on Windows 7 with Windows6.1-KB2999226-x64.msu fails
    Monday, July 20, 2015 8:46 PM
  • I had the error 0x80070005 issue when trying to install the VS2015 RTM version on my Win7 machine.

    I found that on my machine it worked if I installed the .msu through WUSA directly (that is, by running "wusa.exe Windows6.1-KB2999226-x64.msu" without the /extract flag).

    There was no need for me to extract the cab and use DISM, and no need to run vc_redist.x64.exe after the .msu was installed -- the VS2015 installer just worked after that.

    Monday, July 20, 2015 9:51 PM
  • I had the error 0x80070005 issue when trying to install the VS2015 RTM version on my Win7 machine.

    I found that on my machine it worked if I installed the .msu through WUSA directly (that is, by running "wusa.exe Windows6.1-KB2999226-x64.msu" without the /extract flag).

    There was no need for me to extract the cab and use DISM, and no need to run vc_redist.x64.exe after the .msu was installed -- the VS2015 installer just worked after that.

    I tried "wusa.exe Windows6.1-KB2999226-x64.msu". I get the message: "This update is not  applicable for your computer".
    Monday, July 20, 2015 10:08 PM
  • In Windows 8.1 environment, I was having the same issue. So, I did following to fix it.

    First followed this, 

    https://support.microsoft.com/en-us/kb/968003, to fix the acl if in case,

    restarted tried again, it didn't worked :( .. 

    Then in this same post, https://social.msdn.microsoft.com/profile/hal_ provided the solution so I followed that.

    First Download the iso file,

    right click on the file and mount the file. following commands assume, the iso was mounted on D:, if you have a different location just replace that. 


    open command prompt in admin mode, run following commands 

    cd /
    c:
    mkdir vs2015fix
    cd vs2015fix
    wusa.exe D:\packages\Patch\x64\Windows8.1-KB2999226-x64.msu /extract:extractedFix
    DISM.exe /Online /Add-Package /PackagePath:extractedFix\Windows8.1-KB2999226-x64.cab
    D:\packages\vcRedistD14\vc_redist.x64.exe /repair

    Above commands do following

    change current directory to root
    change current drive to c:
    make a directory called "vs2015fix"
    change current directory to vs2015fix
    extracts the patch from D:\packages\Patch\x64\Windows8.1-KB2999226-x64.msu to a new directory called extractedFix inside vs2015fix
    installs the patch using command line tool dism.exe
    runs the vc_redist.x64.exe with repair option

    after running the above command the right clicked on D:\vs_enterprise.exe and clicked on run as administrator. 


    that kind of kicked off the installed and it started installing, at the time of writing, it did reached till installing Android Sdk will put the details of how did it go later :) 




    Monday, July 20, 2015 10:26 PM
  • I tried extracting "Windows6.1-KB2999226-x64.cab" on my Windows 7 system.

    Then I ran the DISM command.

    I get the error:

    'Error: 0x800f081e
    The specified package is not applicable to this image."
    • Edited by DarinFong Monday, July 20, 2015 11:24 PM
    Monday, July 20, 2015 11:24 PM
  • The same problem here with VS 2015 release on Windows 7 and Windows6.1-KB2999226-x64.msu.

    log file:

    [12630:11E20][2015-07-21T12:38:40]i301: Applying execute package: Windows7_MSU_x64, action: Install, path: C:\ProgramData\Package Cache\42D5BEC7DDFBD49E76467529CBC2868987BF8460\packages\Patch\x64\Windows6.1-KB2999226-x64.msu, arguments: '"C:\Windows\SysNative\wusa.exe" "C:\ProgramData\Package Cache\42D5BEC7DDFBD49E76467529CBC2868987BF8460\packages\Patch\x64\Windows6.1-KB2999226-x64.msu" /quiet /norestart'
    [12630:11E20][2015-07-21T12:38:40]e000: Error 0x80240017: Failed to execute MSU package.
    [11EA4:1238C][2015-07-21T12:38:40]e000: Error 0x80240017: Failed to configure per-machine MSU package.

    ....


    • Edited by njok Tuesday, July 21, 2015 11:39 AM
    Tuesday, July 21, 2015 10:51 AM
  • Same here.  I tried doing all the clean up etc. and then trying again.  Same result...

    Tuesday, July 21, 2015 7:43 PM
  • Thank you master! :)

    Worked like a charm, also on the production release VS 2015 RTM.

    Friday, July 31, 2015 10:45 AM
  • Guys, i got the same error on Windows 7 machine.

    I managed to proceed as below.

    just install the "Windows6.1-KB2999226-x64.msu" from "$\VS Folder\packages\Patch\x64" and then it should work, as it works for me.

    hope this will help you guys.

    you can follow the link for details http://othermisllaneous.blogspot.com/2015/08/update-for-microsoft-windows-kb2999226.html

    Regards,

    Sudhanshu


    yes.sudhanshu

    http://bproud2banindian.blogspot.com
    http://ms-crm-2011-beta.blogspot.com

    Tuesday, August 04, 2015 9:22 AM
  • How did you "manually executed the command in the above text box to install KB2999226"? I didn't get it.
    Wednesday, August 26, 2015 7:15 AM
  • How did you run "wusa.exe Windows6.1-KB2999226-x64.msu?
    Wednesday, August 26, 2015 7:16 AM
  • How did you "mount" the file?
    Wednesday, August 26, 2015 7:19 AM
  • I have the same problem on installing visual studio community edition ..

     It tries to run Windows8.1-KB2999226-x64.msu which fails. So I install the kb2999226 update from the following link(Windows 10 Universal C runtime)-

    http://www.microsoft.com/en-us/download/details.aspx?id=48234

    After that I install the update according to my Os. After that It was working fine.

    Wednesday, August 26, 2015 9:26 AM
  • When I run Windows6.1-KB2999226-x64.msu I receive a message from the stand alone installer saying "The update is not applicable to your computer". Any suggestions? Many thanks!
    Friday, August 28, 2015 1:41 AM
  • I have the same issue on Windows Embedded Standard 7.
    Thursday, September 03, 2015 3:08 AM
  • I have the same issue on Windows Embedded Standard 7.
    Has anyone made any progress on this? I also have exactly the same installation problem on windows embedded standard 7. I have also tried deploying the visual c++ dlls manually (eg msvcp140.dll) in which case I get a dll dependency error at runtime (unable to find api-ms-win-crt-runtime-l1-1-0.dll). This seems to be pointing towards the Windows 10 Universal C Runtime package at https://www.microsoft.com/en-us/download/details.aspx?id=48234, but none of the versions included in this package will install on the embedded machine (The update is not applicable to your computer).
    • Proposed as answer by pival0716 Friday, July 08, 2016 4:59 AM
    • Unproposed as answer by pival0716 Friday, July 08, 2016 4:59 AM
    Monday, September 07, 2015 9:32 AM
  • I can confirm this:

    - Clean install of Server 2012 R2

    - Trying to install vcredist_x64.exe from Visual Studio 2015 RTM results in an error message stating "0x80240017 - Unspecified error"

    - The log file shows

    [09AC:0824][2015-09-11T13:32:26]i325: Registering dependency: {e46eca4f-393b-40df-9f49-076faf788d83} on package provider: Microsoft.VS.VC_RuntimeAdditionalVSU_amd64,v14, package: vcRuntimeAdditional_x64
    [09AC:0824][2015-09-11T13:32:26]i301: Applying execute package: Windows81_x64, action: Install, path: C:\ProgramData\Package Cache\FC6260C33678BB17FB8B88536C476B4015B7C5E9\packages\Patch\x64\Windows8.1-KB2999226-x64.msu, arguments: '"C:\Windows\SysNative\wusa.exe" "C:\ProgramData\Package Cache\FC6260C33678BB17FB8B88536C476B4015B7C5E9\packages\Patch\x64\Windows8.1-KB2999226-x64.msu" /quiet /norestart'
    [09AC:0824][2015-09-11T13:32:27]e000: Error 0x80240017: Failed to execute MSU package.
    [05BC:0C34][2015-09-11T13:32:27]e000: Error 0x80240017: Failed to configure per-machine MSU package.
    [05BC:0C34][2015-09-11T13:32:27]i319: Applied execute package: Windows81_x64, result: 0x80240017, restart: None
    [05BC:0C34][2015-09-11T13:32:27]e000: Error 0x80240017: Failed to execute MSU package.
    

    Friday, September 11, 2015 11:43 AM
  • FWIW, the workaround (installing the .msu manually) works, but is hardly an acceptable solution for deployment in production.
    Friday, September 11, 2015 2:31 PM
  • My issue is the same as described above for the windows 7 users. 

    Can anybody help on this please? This has become incredibly frustrating. 

    Wednesday, September 16, 2015 12:18 PM
  • This just gives me the message "The update is not applicable to your computer"
    Thursday, September 24, 2015 9:23 AM
  • There are several bug reports registered about this fault, but yet it hasn't been really fixed by Microsoft:

    https://connect.microsoft.com/VisualStudio/feedback/details/1406887/visual-c-redistributable-for-visual-studio-2015-rc-fails-to-install-kb2999226

    https://connect.microsoft.com/VisualStudio/feedback/details/1598704/microsoft-visual-c-2015-redistributable-x86-and-x64-14-0-23026-fail-to-properly-install-on-windows-8-1-x64

    Hope it gets fixed soon, because it's causing quite a lot of damage and delays.
    Tuesday, September 29, 2015 11:38 PM
  • I've been having the same problem on another Windows 8.1 computer for testing. Initially the install failed. I tried the Windows8.1-KB2999226-x64.msu install, but got the same message, "The update is not applicable to your computer".

    So I ran the vcredist2015 installer again but selected "Uninstall" (for some reason even though the install failed, it still showed it as being installed)

    After uninstalling and rebooting, I tried installing the redist again and it worked.

    Not sure what changed. Maybe there were additional system updates that got installed automatically when I rebooted. Who knows...

    But at least it installed. Again hardly an acceptable solution for deployment.
    Wednesday, September 30, 2015 7:19 PM
  • Hi.

    I have the same problem. Any luck?

    Monday, October 05, 2015 9:11 AM
  • Hi. 

    I have the same problem. Any luck?

    Monday, October 05, 2015 9:12 AM
  • Hi again, Microsoft has confirmed that this is actually a software fault on their side, but IMHO the seemingly complex fixing procedure needs further clarifications, so more questions have been posted in the original MS bug report:

    https://connect.microsoft.com/VisualStudio/feedback/details/1598704/microsoft-visual-c-2015-redistributable-x86-and-x64-14-0-23026-fail-to-properly-install-on-windows-8-1-x64

    Let's see whether they all get hopefully clarified.
    Tuesday, October 06, 2015 8:31 AM
  • which ISO file should we download?
    Monday, December 28, 2015 9:07 AM
  • You can find the Windows8.1-KB2999226-x64.msu at below.

    C:\ProgramData\Package Cache\469A82B09E217DDCF849181A586DF1C97C0C5C85\packages\Patch\amd64\Windows8.1-KB2999226-x64.msu

    copy this file to a folder you like, and

    > wusa.exe Windows8.1-KB2999226-x64.msu /extract:XXXX

    > DISM.exe /Online /Add-Package /PackagePath:XXXX\Windows8.1-KB2999226-x64.cab

    > vc_redist.x64.exe /repair

    this works for me.

    Works.

    My Path was "C:\ProgramData\Package Cache\FC
    6260C33678BB17FB8B88536C476B4015B7C5E9\packages\Patch\x64\Windows8.1-KB2999226-x
    64.msu" since I am on Server 2012 R2.

    Monday, February 15, 2016 2:53 PM
  • wer should i put the content file


    still i didn't get installed
    Friday, February 26, 2016 6:30 AM
  • We saw the same thing, installing on a clean server 2012R2 core. What I observed was, the failure occurred while installing the 32-bit redist... it is checking for and attempting to install, a 64-bit update.  Read the OP's log.

    So, I installed the 64-bit redist first (clean OS, remember), with no issues. Then, I installed the 32-bit redist. No issues from it that time, using that install order.

    Some may not like installing both redists; we do install both as our app has both 32-bit and 64-bit components.

    Def a Microsoft bug.


    • Edited by RedneckJon Friday, June 17, 2016 2:21 PM
    Friday, June 17, 2016 2:20 PM
  • I would like to give you a background on Universal CRT this would help you in understanding as to why the system should be updated before installing vc_redist.x64.exe.
    A large portion of the C-runtime moved into the OS in Windows 10 (ucrtbase.dll) and is serviced just like any other OS DLL (e.g. kernel32.dll).  It is no longer serviced by Visual Studio directly.  MSU packages are the file type for Windows Updates.
    In order to get the Windows 10 Universal CRT to earlier OSes, Windows Update packages were created to bring this OS component downlevel.  KB2999226 brings the Windows 10 RTM Universal CRT to downlevel platforms (Windows Vista through Windows 8.1).  KB3118401 brings Windows 10 November Update to the Universal CRT to downlevel platforms.  
    Windows XP (latest SP) is an exception here.  Windows Servicing does not provide downlevel packages for that OS, so Visual Studio (Visual C++) provides a mechanism to install the UCRT into System32 via the VCRedist and MSMs.
    1. The Windows Universal Runtime is included in the VC Redist exe package as it has dependency on the Windows Universal Runtime (KB2999226).
                    Windows 10 is the only OS that ships the UCRT in-box.  All prior OSes obtain the UCRT via Windows Update only.  This applies to all Vista->8.1 and associated Server SKUs.

    For Windows 7, 8, and 8.1 the Windows Universal Runtime must be installed via KB2999226. However it has a prerequisite update KB2919355 which contains updates that facilitate installing the KB2999226 package. 

    2. Why does KB2999226 not always install when the runtime is installed from the redistributable?  What could prevent KB2999226 from installing as part of the runtime?
    The UCRT MSU included in the VCRedist is installed by making a call into the Windows Update service and the KB can fail to install based upon Windows Update service activity/state:
    1) If the machine has not updated to the required servicing baseline, the UCRT MSU will be viewed as being “Not Applicable”.
    Ensure KB2919355 is installed. Also, there were known issues with KB2919355  so before this the following hotfix should be installed.
    KB2939087
    KB2975061
    2)            If the Windows Update service is installing other updates when the VCRedist installs, you can either see long delays or errors indicating the machine is busy.
    a.            This one can be resolved by waiting and trying again later (which may be why installing via Windows Update UI at a later time succeeds).
    3)            If the Windows Update service is in a non-ready state, you can see errors reflecting that.
    a.            We recently investigated a failure with an error code indicating the WUSA service was shutting down.

    3. To identify if the prerequisite KB2919355 is installed there are 2 options:
    Registry key:
    64bit hive
    HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2919355~31bf3856ad364e35~amd64~~6.3.1.14
    CurrentState = 112
    32bit hive
    HKLM\SOFTWARE\[WOW6432Node\]Microsoft\Windows\CurrentVersion\Component Based Servicing\Packages\Package_for_KB2919355~31bf3856ad364e35~x86~~6.3.1.14
    CurrentState = 112

    Or check the file version of:
    C:\Windows\SysWOW64\wuaueng.dll
    C:\Windows\System32\wuaueng.dll
    7.9.9600.17031  or later

    • Edited by rkRathish Wednesday, July 06, 2016 10:34 AM I was not able to add the links for KB2939087 KB2975061
    Wednesday, July 06, 2016 10:32 AM
  • I had the exact same symptoms. On top of that, when I used Windows Update to check for updates, it got stuck in "Checking for updates...".

    Following: http://superuser.com/questions/951960/windows-7-sp1-windows-update-stuck-checking-for-updates?newreg=31ba67d662fb426d861bd765a40975ec (Windows 7 SP1 Windows Update stuck checking for updates) I found that everything installs smoothly after I addressed: https://support.microsoft.com/en-us/kb/3102810 (Installing and searching for updates is slow and high CPU usage occurs in Windows 7 and Windows Server 2008 R2).

    TL;DR: for Windows Embedded Standard 7

    1. Install: Windows6.1-KB3102810-x86.msu
    2. Install: Windows6.1-KB2999226-x86.msu
    3. Install: vc_redist.x86.exe
    • Proposed as answer by pival0716 Friday, July 08, 2016 5:08 AM
    Friday, July 08, 2016 5:08 AM
  • This thread seems to be over year old now and it's amazing that there's still no proper solution for it. I'm currently in the process of crearing deployment instructions for a major enterprise-grade software and would need to be sure that the issue can be covered with provided instructions, otherwise we will have both a major headache and additional costs.

    Today I started with clean install of 2012R2 and ran all the available updates from Windows Update. There was no sign that something was skipped or failed. Installation of the VC++ Redist still fails without any meaningful error message. If we have known for over a year that the issue is failed KB2999226, why on earth the redist installer doesn't check that prerequisite first?

    Now after seeing that same issue on several test servers, all running 2012R2, I have documented the following instructions for customer that is hopefully willing to do some hacking:

    1. Check from Windows Update history whether KB2999226 has been installed or not

    2. If it has not been installed, download the installer from
    https://www.microsoft.com/en-us/download/confirmation.aspx?id=49063 

    3. Install the downloaded MSU-package simply by double-clicking it

    4. Install the vc_redist.x64

    Apparently there is no need to reboot.

    Saturday, October 08, 2016 9:38 AM
  • Thanks, for 2012 R2 even then you need to go download clearcompressionflag.exe, KB2919355, KB2932046, KB2959977, KB2937592, KB2938439, KB2934018 (all available when downloading KB2919355), installed in a special order per install instructions, and the prerequisite for those KB2919442 because for some reason Windows update is not determining that any of these are available as an update.

    Now you can install vc_redist.x64 and x86.  This will also install Windows8.1-KB2999226-x64.

    But like you said, I suppose you could also wait a week for Windows update to sort it out.  :)

    Don't forget to turn off automatic updates or you'll be banging your head against the wall for quite a while.

    • Proposed as answer by RC Consult Wednesday, December 28, 2016 9:48 AM
    Tuesday, November 29, 2016 4:11 PM
  • On 2012 R2, I found that once I installed KB2919442 manually, after that KB2919355 showed up in Windows Update.  Installing KB2919355 via Windows Update takes care of installing clearcompressionflag.exe, KB2919355, KB2932046, KB2959977, KB2937592, KB2938439, KB2934018 for you.

    Once that was done, I had to turn off automatic updates to install the vc_redist.x64 and x86.

    Thursday, December 22, 2016 10:57 PM
  • Hello,

    This solution works for me:

    However, you can install it by extracting that update to a folder (e.g. XXXX), and execute following cmdlet. You can find the Windows8.1-KB2999226-x64.msu at below.

    C:\ProgramData\Package Cache\469A82B09E217DDCF849181A586DF1C97C0C5C85\packages\Patch\amd64\Windows8.1-KB2999226-x64.msu

    copy this file to a folder you like, and

    Create a folder XXXX in that and execute following commands from Admin command propmt

    wusa.exe Windows8.1-KB2999226-x64.msu /extract:XXXX

    DISM.exe /Online /Add-Package /PackagePath:XXXX\Windows8.1-KB2999226-x64.cab

    vc_redist.x64.exe /repair last command need not be run. Just execute exe once again.

    http://stackoverflow.com/questions/31536606/while-installing-vc-redist-x64-exe-getting-error-failed-to-configure-per-machi

    Tuesday, January 10, 2017 3:24 PM
  • I couldn't get it to install.

    My trustedinstaller and other files where corrupted by a virus. After restoring trustedinstaller and having it activated at services.msc (windows modules installer)

    I was albe to use the DISM COMMAND. before that it would not extract the kbcab update

    This fixed it for me after days of checking everything

    Tuesday, February 07, 2017 2:53 PM
  • On 2012 R2, I found that once I installed KB2919442 manually, after that KB2919355 showed up in Windows Update.  Installing KB2919355 via Windows Update takes care of installing clearcompressionflag.exe, KB2919355, KB2932046, KB2959977, KB2937592, KB2938439, KB2934018 for you.

    Once that was done, I had to turn off automatic updates to install the vc_redist.x64 and x86.

    @Noraa2

    After trying every suggested solution on the internet this was thing that actually worked for me. THANK YOU. I've been chasing this error for far longer than I'd like to admit. 

    • Edited by Alduron5 Thursday, February 16, 2017 12:08 AM Added name
    Thursday, February 16, 2017 12:02 AM