Friday, May 5, 2017

SharePoint 2013 - Setup error if the .NET Framework 4.6 is installed


Symptoms

When you run Microsoft SharePoint Foundation 2013 with Service Pack 1 Setup, SharePoint Server 2013 with Service Pack 1 Setup, or Project Server 2013 with Service Pack 1 Setup on a computer that has the Microsoft .NET Framework 4.6, 4.6.1, or 4.6.2 installed, you receive the following error message:
Setup is unable to proceed due to the following error(s):
This product requires Microsoft .Net Framework 4.5.

Cause

This problem occurs because the SharePoint Setup and Project Server Setup programs do not recognize the .NET Framework 4.6, 4.6.1, or 4.6.2 as a supported version of the .NET Framework.

Resolution

To resolve this problem, follow these steps:

  1. Extract the installation media to a writable location.

    • If your installation media is an executable file (.exe), extract the files and folders from the executable file to a writable location by running the following command at a command prompt:

       /extract: 
      For example, run the following command:

      sharepoint.exe /extract:C:\SharePointInstaller 
    • If your installation media is an ISO or IMG disc image (.iso or .img), mount the disc image, and then copy the files and folders from the disc image to a writable location.
  2. Download the compressed (.zip) file that contains the fix that matches the product you're installing:

  3. Open the .zip file.
  4. Copy the following Setup support file, as appropriate, from the .zip file into the "updates" folder in your writable location. 

    • SharePoint Foundation 2013 with Service Pack 1: wsssetup.dll
    • SharePoint Server 2013 with Service Pack 1: svrsetup.dll
    • Project Server 2013 with Service Pack 1: svrsetup.dll
  5. Run Setup.exe from the writable location to start SharePoint Setup or Project Server Setup. Setup will use the support file that contains the fix that you've copied into the "updates" folder.

No comments: