SharePoint prerequisites errors and solutions


SharePoint 2016 installation

Applies to: SharePoint Server 2016

SharePoint 2016
Server 2016
SQL 2016

Summary: Deployment articles for SharePoint Server 2016 on server 2016 and SQL server 2016 help you to install SharePoint 2016 prerequisites features and applications and configure SharePoint Server 2016

Mount the ISO file

Note: make sure to copy the mounted file and add them to another local location, cause will add some files

Make sure you are using administrator account on the server for installing

In my Example, I copied them to the D:

Note: Do not try to install any prerequisites by just double clicking and install it manually

First

Do the following before running the prerequisites to avoid any expected errors

https://profadmins.com/2013/12/24/sharepoint-2013-prerequisites-fails-with-msi-installer-error-code-1603-while-installing-appfabric-1-1/

 PSModulePath in the Environment Variables

You may have 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 

Second

ServerManagerCMD

Make sure to create another Servermanager copy and rename it ServerManagerCMD

Sometimes it looks for this file name not the Default one

Third

Install and copy prerequisites manually

Install the prerequisites manually from the following link I found it’s the best link

https://blogs.technet.microsoft.com/meamcs/2012/12/26/install-and-download-sharepoint-2013-prerequisites-offline-manually/

Then copy them all in the

.\Source\prerequisiteinstallerfiles

Just install the prerequisites file locally in the prerequisite folder

Run the prerequisiteinstaller

Trouble shooting

If you start the tool then you faced a problem like EX:

Sync framework run time error during the installation

You can make sure it is in the prerequisites folder

Then Run the following command

.\prerequisiteinstaller.exe /SYNC:D:\Source\prerequisiteinstallerfiles\Synchronization.msi

The following is the List of commands

https://technet.microsoft.com/en-us/library/cc262485%28v=office.16%29.aspx?f=255&MSPPError=-2147217396

Another Example for the App Fabric error

https://blogs.technet.microsoft.com/meamcs/2012/12/26/install-and-download-sharepoint-2013-prerequisites-offline-manually/

Windows Server App Fabric error

Now you have to download it manually

http://go.microsoft.com/fwlink/?LinkId=235496

(Note: don’t install WindowsServerAppFabricSetup_x64_6.1 this is not the correct version that

SharePoint installer seeks)

 Download it but do not install
it by yourself since it needs configuration, hence install all other

Prerequisites in this article (except this one) then let the prerequisite installer to install App Fabric

In addition, configure it manually for you by running the following command from command prompt:

prerequisiteInstaller.exe /appfabric:[Full AppFabric Installer path]


D: is the CD drive where SharePoint installer is placed

Solution 2

You can just download it and place it in the prerequisites file then it will go on and install it


Advertisement

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 )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.