none
Issue installing Cumulative update package 1 for Microsoft AppFabric 1.1 for Windows Server as a prerequisite for SharePoint 2013

    Question

  • Problem description

    While installing a new SharePoint 2013 farm at a customer I ran into an issue installing the Cumulative update package 1 for Microsoft AppFabric 1.1 for Windows Server.

    As usual I start installing (and configuring) SharePoint using AutoSPInstaller. While installing the SharePoint prerequisites AutoSPInstaller announces to reboot a few times which is normal. But after 4 or 5 reboots I decided to investigate what’s going on and figured out the installation of the Cumulative update package 1 for Microsoft AppFabric 1.1 for Windows Server was failing.

    Running the Cumulative update package 1 for Microsoft AppFabric 1.1 for Windows Server (AppFabric1.1-RTM-KB2671763-x64-ENU.exe) manually. The installation was more or less directly aborted followed by the message "One of the custom actions failed. The installation cannot continue. See log for details."

    Analyses

    After some internet searches I figured out the log file to “See” is "C:\ProgramData\Microsoft\E-Business Servers Updates\Updates\Uninstall2671763\Setup.log". And its contents are:

    [04/19/17 17:02:43] Performing install.

    [04/19/17 17:02:43] At least one of the product packages has been detected.

    [04/19/17 17:02:43] preReqUpdateDisplayName is :

    [04/19/17 17:02:43]

    [04/19/17 17:02:43] Wizard mode on.

    The following products will be enhanced:

    AppFabric 1.1 for Windows Server

    Attempting to open cached Msi package for product code: {96E70525-4CD1-4920-9C0B-91055C79A962}

    Successfully opened cached Msi package.

    [04/19/17 17:03:24] Opening Service Control Manager...

    [04/19/17 17:03:24] Operation succeeded.

    [04/19/17 17:03:24] Copying files...

    [04/19/17 17:03:24] Checking and creating target directory C:\ProgramData\Microsoft\E-Business Servers Updates\Updates\Uninstall2671763.

    [04/19/17 17:03:24] Package AppFabric 1.1 for Windows Server is installed.

    [04/19/17 17:03:24] Copying file AppFabric1.1-RTM-x64patch30.msp ...

    [04/19/17 17:03:25] Operation succeeded.

    [04/19/17 17:03:25] Copying file AppFabric1.1-RTM-x64patch30.msp ...

    [04/19/17 17:03:25] Operation succeeded.

    [04/19/17 17:03:25] Copying file StopAndcheckService.vbs ...

    [04/19/17 17:03:25] Operation succeeded.

    [04/19/17 17:03:25] Copying file WaitAndStartService.vbs ...

    [04/19/17 17:03:25] Operation succeeded.

    [04/19/17 17:03:25] Copying file Setup.xml ...

    [04/19/17 17:03:25] Operation succeeded.

    [04/19/17 17:03:25] Copying file Setup.exe ...

    [04/19/17 17:03:25] Operation succeeded.

    [04/19/17 17:03:25] Package AppFabric 1.1 for Windows Server is installed.

    [04/19/17 17:03:25] Package code is {96E70525-4CD1-4920-9C0B-91055C79A962}.

    [04/19/17 17:03:25] Executing preinstall custom actions. 2 actions to execute.

    [04/19/17 17:03:25] Starting process "C:\Windows\system32\..\Sysnative\cmd.exe" /c regedit /e /s "c:\Program Files\AppFabric 1.1 for Windows Server\AF_Cache.reg" HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppFabric\V1.0  ...

    [04/19/17 17:03:26] Process exit code is 1.

    [04/19/17 17:03:26] Deleting file C:\ProgramData\Microsoft\E-Business Servers Updates\Updates\Uninstall2671763\EBizTemp.txt ...

    [04/19/17 17:03:26] Operation succeeded.

    [04/19/17 17:03:26] One of the custom actions failed. The installation cannot continue. See log for details.

    Conclusion

    It took me a lot of time to figure out the failing action was:

    “[04/19/17 17:03:25] Starting process "C:\Windows\system32\..\Sysnative\cmd.exe" /c regedit /e /s "c:\Program Files\AppFabric 1.1 for Windows Server\AF_Cache.reg" HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\AppFabric\V1.0”

    Or more specific "C:\Windows\system32\..\Sysnative\cmd.exe" was not found.

    For a 32-bit process "C:\Windows\system32\..\Sysnative\cmd.exe" results in "C:\Windows\Sysnative\cmd.exe" which actually executes "C:\Windows\system32\cmd.exe".

    This “C:\Windows\Sysnative” is a type of virtual (concealed) path is established to forcibly run (64-bit) programs in "C:\Windows\system32” from a 32-bit process. For a 32-bit process "C:\Windows\system32” references will translated to the 32-bit program location “C:\Windows\SysWOW64”.

    However in this particular case the call to "C:\Windows\system32\..\Sysnative\cmd.exe" fails and as you will see when reading on calling "C:\Windows\system32\cmd.exe" succeeds.

    Workaround

    The steps I took to get the Cumulative update package 1 for Microsoft AppFabric 1.1 for Windows Server installed:

    1. I ran AppFabric1.1-RTM-KB2671763-x64-ENU.exe
    2. When the splash window appears on the folder “C:\7a2006265bdb6c90d623cb” is created (the folder name can be any random number and can be created on another drive as well).
    3. I copied the contents of “C:\7a2006265bdb6c90d623cb” to “D:\Install\AppFabric1.1-KB2671763”.
    4. I cancelled the install started at 1.
    5. I created a (safety) copy of  “D:\Install\AppFabric1.1-KB2671763\Setup.xml” and modified the Original:
    6. At last I ran “D:\Install\AppFabric1.1-KB2671763\Setup.exe” and the package installed properly.

    After SharePoint was completely installed and configured the Distributed Cache runs well on both servers

    Specific information

    • A SharePoint farm with two SharePoint servers is installed. The issue occurred on both servers
    • Updates for the servers are applied using SCCM
    • Symantec antivirus software is installed on both servers

    Questions

    1. What is causing this issue? The last years I implemented dozens of SharePoint 2013 farms and never before ran into this issue
    2. All comments on the workaround are very welcome

    Best regards,

    Hans Struijk.

    Friday, April 21, 2017 10:23 PM

All replies