Prerequisites installer errors cause server2012r2 doesn’t support SharePoint 2013


SharePoint 2013 Support for Windows Server 2012 R2

Summary

Currently, Microsoft SharePoint Server 2013 is not supported for installation on computers running the Windows Server 2012 R2 operating system.   Installing SharePoint Server 2013 on a computer that is running Windows Server 2012 R2 could lead to unexpected behavior, therefore, Microsoft does not support SharePoint Server 2013 in Windows Server 2012 R2.

SharePoint Server 2013 with Service Pack 1 and SharePoint Foundation 2013 with Service Pack 1 will offer support for Windows Server 2012 R2. The release date for Service Pack 1 for SharePoint Server 2013 and SharePoint Foundation 2013 is to be determined. This article will be updated as more information becomes available.

For more:

http://blogs.technet.com/b/wbaer/archive/2013/09/22/sharepoint-2013-support-for-windows-server-2012-r2.aspx

 

Workarounds

When you try to run the prerequisites file you may have the following error

The tool was unable to install application server Role: web server (iis) Role

When you try to install Microsoft SharePoint Server 2013 on some Windows Server 2012R2 configurations, the Products Preparation Tool may be unable to correctly configure and install the required Windows Features for SharePoint. If this occurs, the tool will continuously try to configure and install the required features and then restart.
Note By default, the Products Preparation Tool restarts several times during a typical configuration operation.
When this problem occurs, the Products Preparation Tool does not progress past the “Configuring Application Server Role, Web Server (IIS) Role” stage.

  1. IIS ERROR in the prerequisites

I got this error when trying to install prerequisites on server 2012 R2

You have to install it manually

Download prerequisites script for sharepoint2013 on server 2012 R2

 

This script utilizes the PrerequisiteInstaller.exe included in the SharePoint 2013 installation media to install the necessary prerequisites for SharePoint 2013 on Windows Server 2012.

Ref: http://gallery.technet.microsoft.com/DownloadInstall-SharePoint-e6df9eb8

Direct download link for the scripts:

http://gallery.technet.microsoft.com/DownloadInstall-SharePoint-e6df9eb8/file/71063/4/Download-Install%20Windows%20Server%202012%20Prerequisites%20for%20SharePoint%202013.zip

You will have the following scripts after installing the script you can choose to install offline or online mode

Procedure:

  1. Download .zip file containing my scripts and extract the .ps1 files to c:\powershellscripts (or another directory of your choosing)
  2. Run PowerShell as Administrator (you can do this from the Start Screen – right click PowerShell and select “Run as Administrator”
  3. Ensure you have set your PowerShell execution policy to Remote-Signed (you can change it later if you need to)
  4. Run this script: 

Scripts Name

  1. Install-SP2013RolesFeatures.ps1
  2. Download-SP2013PreReqFiles.ps1
  3. Install-SP2013PreReqFiles.ps1

1. Install-SP2013RolesFeatures.ps1

This script installs all of the necessary Windows Server 2012 Roles/Features to prepare for

a SharePoint 2013 installation. 

2- Download-SP2013PreReqFiles.ps1

This script downloads the ENGLISH versions of the required Prerequisite files for SharePoint 2013 on Windows Server 2012. It stores them in a directory of your choosing.

3- Install-SP2013PreReqFiles.ps1

Then I got the following error

  1. Appfabric Error

SharePoint 2013 Prerequisites fails with MSI Installer error code 1603 while installing AppFabric 1.1

When installing SharePoint 2013 prerequisites on Windows Server 2008 R2, the prerequisite installer fails with the following error

Appfabric installation failed because installer MSI returned with error code:1603

This is a generic MSI error message and does not give any indication about how to get the issue fixed. Uninstall or reinstalling only makes it worse.

The issue can be caused due to the following:

  1. The path to the PowerShell executable that is needed for the AppFabric installation is incorrect.
  2. In some scenarios, repeated uninstallation and re-installation does not fix the issue. This is because the installer does not remove the PSModulePath entry in Environment Variables during un-installation and the installation fails because the entry already exists.
  3. If you are trying to install all the prerequisites manually as the server does not have a connection to internet. 

    Note: Appfabric installation and configuration has to be done by the prerequisite installer ONLY and not in a stand-alone manner.

You can implement any one of the two solutions listed below

  • Solution 1 

    Append the following path to PSModulePath entry in the environment variables –%SYSTEMROOT%\System32\WindowsPowerShell\v1.0 

    • Go to My Computer, right-click Properties
    • On the System’ page, click Advanced System Settings on the left-side pane.
    • If you receive a UAC prompt, click on Yes to launch the System Properties dialog box
    • From the Advanced tab, click Environment Variables
    • Within the System Variables section in the lower half, select PSModulePath and click on Edit(or double-click PSModulePath‘)
    • Append the following path to PSModulePath entry in the environment variables

      %SYSTEMROOT%\System32\WindowsPowerShell\v1.0\

    • Ensure that the PSModulePath entry looks like this: 

      C:\Windows\system32\WindowsPowerShell\v1.0\Modules\;c:\Program Files\AppFabric 1.1 for Windows Server\PowershellModules 

 

Ref: http://blogs.technet.com/b/praveenh/archive/2013/02/22/sharepoint-2013-prerequisites-fails-with-msi-installer-error-code-1603-while-installing-appfabric-1-1.aspx

 

 

Restart the server

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s