none
Unable to install Office Web Apps Server 2013 with KB3102467 (.NET 4.6.1) RRS feed

  • Question

  • I'm attempting to install Office Web Apps Server 2013 on an AWS instance of Windows Server 2012 R2, which has been patched with KB3102467.  This fails, of course, because the installer checks for .NET 4.5.x, and does not recognize .NET 4.6.x.

    There's lots of information telling you to uninstall KB3102467, however there are TWO DIFFERENT versions of the KB.  For details, see KB3102467 but to summarize:

    • One of the .NET Framework 4.6.1 updates will install only on computers that have an earlier version such as the .NET Framework 4.5.1, or 4.5.2 installed.
    • The other .NET Framework 4.6.1 update will install on those computers that either have the .NET Framework 4.6 installed or no .NET Framework installed.

    The reason for this, I believe, is because the Windows Server 2012 GUI has a dependency on .NET 4.5.x, and if it's present, KB3102467 installs a version of .NET 4.6.1 that can be uninstalled.  If 4.5.x is NOT present, the KB installs a version of .NET 4.6.1 that CAN NOT be uninstalled.

    So, here's the Catch 22:

    Current State

    • Office Web Apps Server 2013 with SP1 officially supports Windows Server 2012 R2
    • OWA 2013 with SP1 requires .NET 4.5.2 to be installed on Windows Server 2012 R2.
    • The standard Amazon AWS image of Windows Server 2012 R2 has been patched with .NET 4.6.1. (KB3102467)

    Problem

    • Office Web Apps installer doesn't recognize .NET 4.6 or 4.6.1 as a replacement for .NET 4.5.2 (even though it is), so it fails with an error.
    • You cannot install .NET 4.5 or 4.5.2 if 4.6 or 4.6.1 has been installed, so the guidance is to uninstall .NET 4.6.1.
    • Catch 22: ".NET Framework 4.6.1 is a core part of the operating system, and cannot be uninstalled" 

    Related Info

    • This same issue occurs with SharePoint 2013 and Project Server 2013, but Microsoft released an updated version of svrsetup.dll, the installer resource DLL.  This now allows me to build a SharePoint farm on Windows 2012 R2 that has been patched with KB3102467 (.NET 4.6.1).  They have not (as far as I can tell) released such a patch for Office Web Apps 2013.

    So, my preferred solution would be the same one that works for SharePoint 2013 and Project Server, where I can simply add the svrsetup.dll to the updates folder of the Office Web Apps Server 2013 installer.  But at this point, I'll take any solution that allows me to install Office Web Apps Server on Windows Server 2012 R2.

    Regards,

    Mike Sharp



    Wednesday, May 24, 2017 4:42 PM

All replies

  • Did you find a solution to this? Will placing the svrsetup.dll file in the updates folder also work for Office Web Apps Server 2013?
    Monday, August 7, 2017 10:56 PM
  • Did you ever find a resolution to this? We're running into the same issues with the AWS AMI already having 4.7.1 applied, so we are unable to rollback.

    Thanks!

    Monday, February 26, 2018 4:21 PM
  • https://sharepoint.stackexchange.com/questions/61239/this-product-requires-microsoft-net-framework-4-5

    Found a working solution on stack exchange as linked above.

    To summarize:

    1) Export the following key to back it up.

    HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4

    2) Grant yourself ownership and full permissions on each subkey in that registry.

    3) Replace ALL Version values with a 4.5x value (eg. 4.5.51209).

    4) Run the Office Web Apps setup.

    5) Once done, double click your exported registry to set the values back.

    Many thanks to Alex Angas who posted the original answer on stack exchange.

    No need to revert to an older version of .NET or uninstall KBs with this method.

    Thursday, April 11, 2019 6:43 AM