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

  1. 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

  2. Solution 2

    • There are chances that other applications might be referencing the same variable and may fail if it is deleted. This is what we can do if solution 1 does not help.
    • Remove the PSModulePath entry from the ‘Environment Variables’ and re-run the installer. Once it completes successfully, ensure that the PSModulePath entry looks the same as mentioned in solution 1.
  3. Solution 3

You can download the list of prerequisites from Links to applicable software

Links to the individual prerequisites:

The steps listed below are for AppFabric for Windows Server only

Follow these steps for installing AppFabric for Windows Server correctly

  • Uninstall the Appfabric for Windows Server from Control Panel -> Programs and Features page
  • Download the individual requirements to a network location or a local folder
  • Install prerequisites for SharePoint 2013 manually
  • From the Start menu, open the Command Prompt window using the Run as administrator option.

    – Navigate to the root of the SharePoint 2013 installation media or folder location
    – Type the prerequisite program switch and corresponding argument for the program that you want to install, and then press ENTER.
    For example:

    If we have to install AppFabric for Windows Server from a local source, we can run the following command:

    PrerequisiteInstaller.exe /AppFabric:<location Of the Appfabric installation file>

    This will kick off the prerequisite installer wizard which will then use the installation file stored locally on the machine as specified in the command-line to install Windows Server AppFabric. We can also install more than one prerequisite by using different switches with the PrerequisiteInstaller.exe command to install multiple components and specifying the installation path in the command line window. For example:

    PrerequisiteInstaller.exe /AppFabric:<location Of the Appfabric installation file> /IDFX11:<Install Windows Identity Foundation v1.1 from file>

    This command will install Appfabric and Windows Identity Foundation

    For a complete list of prerequisite installer operations and command-line options, see Prerequisite installer operations and command-line options

  • The SharePoint 2013 prerequisite installer (prerequisiteinstaller.exe) installs the following software, if it has not already been installed on the server, in this order (provided you have downloaded the prerequisites locally):

    PrerequisiteInstaller.exe

    /SQLNCli:file – Install Microsoft SQL Server 2008 R2 SP1 Native Client from file
    /PowerShell:file – Install Windows Management Framework 3.0 from file
    /NETFX:file – Install Microsoft .NET Framework 4.5 from file
    /IDFX:file – Install Windows Identity Foundation (KB974405) from file
    /Sync:file – Install Microsoft Sync Framework Runtime v1.0 SP1 (x64) from file

    /AppFabric:<location Of the Appfabric installation file>
    /IDFX11:"<path>\Microsoft Identity Extensions.msi"
    /MSIPCClient:"<path>\msipc.msi"
    /WCFDataServices:"<path>\WcfDataServices.exe"
    /KB2671763:"<path>\AppFabric1.1-RTM-KB2671763-x64-ENU.exe


  • where "<file>" signifies the file location from where you want to install. If you do not specify the <file> option, the installer downloads the file from the Internet and installs it.

The prerequisite installer creates log files at %TEMP%\prerequisiteinstaller.<date>.<time>.log. You can check these log files for specific details about all changes the installer makes to the server.

See Install prerequisites for SharePoint 2013 from a network share for information about how to install the SharePoint 2013 prerequisites at the command prompt from a network share or local system. This approach is typically used when the server does not have a connection to internet.

Comments (43)

  1. Ed (DareDevil57) says:

    thanks for sharing.

  2. Anonymous says:

    that really works thanks a lot

  3. Glad I could help, Adrian:)

  4. Anonymous says:

    This tip is excelent

  5. Anonymous says:

    I resolve my problem finally . I think  the reason of getting 'error code 1603 while installing AppFabric 1.1'  is my  mannul installation.

    Thanks so much.

  6. Adrian Sullivan says:

    Wow, thank you so much, this fixed hours of headache for me. Solution 2 worked like a charm.

    Thanks Praveen

  7. Siddharth Mahajan says:

    I have done with both solutions but did't work for me. finally i have removed the Microsoft AppFabric 1.1 for Windows Server the installed updates from the control panel, now i am able to installed successfully Sharepoint 2013.

    Regards,

    Siddharth M.

  8. Ernesto G. says:

    This error is because you was deleted the instalation folder in the disk C that appear as guid key in this form c:/75f74225aca163c57a7737aa59a4. You must be execute de WindowsServerAppFabricSetup_x64.msi and before press next in the first screen, see the C: disk and copy the temporal folder that contain the missing files that has been generated the error code : 1603.

    You can see the line before throw the error in you log file

    Process.Start: C:Windowssystem32msiexec.exe /quiet /norestart /i "c:338f6462408072c851cf3b1ePackagesAppFabric-1.1-for-Windows-Server-64.msi" ADDDEFAULT=Worker,WorkerAdmin,CacheClient,Setup /l*vx "C:UsersAdministratorAppDataLocalTempAppServerSetup1_1(2013-03-05 18-06-39).log" LOGFILE="C:UsersAdministratorAppDataLocalTempAppServerSetup1_1_CustomActions(2013-03-05 18-06-39).log" INSTALLDIR="C:Program FilesAppFabric 1.1 for Windows Server" LANGID=en-US

    Then remove the words Process.Start: and /quiet and execute the command as administrator in MSDOS

    C:Windowssystem32msiexec.exe /norestart /i "c:338f6462408072c851cf3b1ePackagesAppFabric-1.1-for-Windows-Server-64.msi" ADDDEFAULT=Worker,WorkerAdmin,CacheClient,Setup /l*vx "C:UsersAdministratorAppDataLocalTempAppServerSetup1_1(2013-03-05 18-06-39).log" LOGFILE="C:UsersAdministratorAppDataLocalTempAppServerSetup1_1_CustomActions(2013-03-05 18-06-39).log" INSTALLDIR="C:Program FilesAppFabric 1.1 for Windows Server" LANGID=en-US

    The installer will be go to the step before the error and then ask for the file and folder missing, you must be select the path folder that you was copied in C: indicated in the first step up.

    Test in your environmet.

  9. suhair says:

    thank you first solution was the answer

  10. michele says:

    Solution 2 worked for me, thanks heaps!

  11. Aasif Shaikh says:

    Hi there,

    I had similiar issue while Installing SP2013, i had installed WindowsServerAppFabricSetup_x64 and configure correctly and also updated AppFabric1.1-RTM-KB2800726-x64-ENU CU but still the error is not going… the Error is as below:

    setup is unbale to proceed due to the following error(s):

    Windows Server Appfabric is not correctly configured. You should uninstall Windows Server Appfabric and reinstall it using

    the SharePoint Products preparation tool

    This Product requires Cumulative Update Package 1 for Microsoft Appfabric 1.1 for Windows Server (KB2671763)

    Your Help will be Appricated..

    Regards

    Aasif

  12. Pradeep Nulu says:

    In my case appfabric installation failed with 1603. by looking logs, found that setx.exe is failing . On further checking, found that PSModulePath is having one doublequote ("). After removing it, it worked like a charm.

    Regards,

    Pradeep Nulu

  13. Anonymous says:

    Pingback from SharePoint 2013 Prerequisites fails with MSI Installer error code 1603 while installing AppFabric 1.1 | System Admins

  14. Anonymous says:

    Pingback from Prerequisites installer errors cause server2012r2 doesn???t support SharePoint 2013 | System Admins

  15. Prashant Karole says:

    Thanks. Problem is resolved by solution 1.

  16. Yogesh says:

    Getting the below error while installing the CU 4 CreatePath/CreateFilePath failed with: -2147483648 1325 -2147483648 MSI (s) (84:7C) [14:07:23:646]: ConnectToSource (con’t): CreatePath/CreateFilePath failed with: -2147483648 -2147483648 MSI (s) (84:7C)
    [14:07:23:646]: SOURCEMGMT: net source ‘e:8396c318de3a6b81c98f852aPackages’ is invalid. MSI (s) (84:7C) [14:07:23:646]: Note: 1: 1706 2: -2147483647 3: appfabric-1.1-for-windows-server-64.msi MSI (s) (84:7C) [14:07:23:646]: SOURCEMGMT: Processing net source
    list. MSI (s) (84:7C) [14:07:23:646]: Note: 1: 1706 2: -2147483647 3: appfabric-1.1-for-windows-server-64.msi MSI (s) (84:7C) [14:07:23:646]: SOURCEMGMT: Processing media source list. MSI (s) (84:7C) [14:07:24:709]: Note: 1: 2203 2: 3: -2147287037 MSI (s)
    (84:7C) [14:07:24:709]: SOURCEMGMT: Source is invalid due to missing/inaccessible package.

  17. Patompon says:

    Thank you so much for solve my problem . I use solution 3

  18. Mark says:

    Solution2 worked for me. Thank YOU!

  19. Mark says:

    I did have to fix the path after deleting…

  20. Helmy Mohamed says:

    1. I have installed SharePoint Prereq in and offline mode and all the configuration running well
    2. I have configured AppFabric and connect it to SQL Database
    3. The IIS identify the AppFabric and the AppFabric 3 services running and started

    4. But when trying to install SharePoint 2013 on Windows server 2012 an error massage say that AppFabric not configures try to UN install it and install it again !!

  21. Sunil says:

    By removing the additional " at the end of the PSModulePath value resolved the issue

  22. Owolabi Pius says:

    Thanks so much. It saved my a whole night

  23. Anil says:

    Sol1 worked for me; thanks!

  24. Grontoblios says:

    Thank you for this fix, solution 1 worked for me. With all respect it would be nice if such errors were not introduced in the installer. Nevertheless I appreciate the fix!

  25. James K says:

    solution 2 worked for me
    just deleted the PSModulePath, tried to run PreReq installer, all installed correctly, rebooted and sharepoint setup now works!
    Thank you so much, I was working around this one the last 3 hours and getting a headache

  26. Anonymous says:

    There can be multiple reasons for installation errors when installing AppFabric either with SharePoint

  27. varun jindal says:

    Thank you so much . .solution 3 worked for me

  28. Vaseem Abdul Samad says:

    Solution 2 worked for me….. Thank a lot.

  29. tim walsh says:

    before you try any of this ensure that your installer iso is sharepoint server 2013 sp1 (separate iso and license key). regular sharepoint server 2013 is incompatable with windows server 2012 r2….it must be the sp1 ISO

  30. Ramniwas Sharma says:

    Thank You guys…I resolved my issue to using solution 1

  31. tontonpolak says:

    In French Installation put
    C:Program FilesAppFabric 1.1 pour Windows ServerPowershellModules

  32. Jigs says:

    All this instructions have just led me into a deeper mess. Some tech sites say never install AppFabric from the download standalone, but here it does. And I think that messes with Environment Variables that are then hard to correct. Plehhh….

  33. Gregg5 says:

    I had previously installed SQL Server 2014, which left its own path in the Env Variables. Will I need to add that back to the variables, or can I leave it out?

  34. Anonymous says:

    The Issue:

      AppFabric installation was failing with "AppFabric installation failed because

  35. Ingo says:

    Solution2 worked for me – thanks a lot! What a f… mess to install a single product … Thanks MS!

  36. Minato Yondaime says:

    I really really appreciated for this post.It save my time.I facing this problem long time now i fixed it.thank u soo much.

  37. deepika says:

    Deleting the PS Module path was not correct .as I later faced issues .
    if deleted and the appfabric gets installed.After that ,we edit the psmodulepath to C:WINDOWSsystem32WindowsPowerShellv1.0Modules

  38. madhan says:

    Thanks Praveen! this really works

  39. Kundai Pfende says:

    First solution worked like a charm, simply copied and pasted the powershell executable path for App Fabric

  40. David says:

    Solution 3 worked for me. Thanks a bunch!

  41. Manish M Upadhyay says:

    Thanks a lot Praveen. I also faced the same problem and got it resolved by your post. The information is really helpful. In my case, I followed Scenario 1 and Scenario 3, and then I was able to install AppFabric successfully.

  42. Sinson says:

    Its worked great..
    Thanks.