Thursday, January 29, 2015

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

q: While installing AppFabric 1.1 on Server 2012 R2 we got this error using this file WindowsServerAppFabricSetup_x64.exe with all features enabled.

Microsoft.ApplicationServer.Setup.Core.SetupException: AppFabric installation failed because installer MSI returned with error code : 1603



Of three servers, it worked on 1, but not 2 or 3.
Server 1 had a System Variable PSModule with the value:
C:\Windows\system32\WindowsPowerShell\v1.0\Modules\;c:\Program Files\AppFabric 1.1 for Windows Server\PowershellModules

That same System Variable on Server 2 and 3 had a value of :
%SystemRoot%\system32\WindowsPowerShell\v1.0\Modules\

We replicated the value from Server 1 to Server 2 and rebooted Server 2.
That still didn't fix it.
Finally, we deleted the local group "AS_Observers" that had been created and repeated the install and it completed successfully.  Also delete "AS_Administrators" if it exists.

NOTE:
When you're done, don't forget to download CU5 with all the updates for clustering AppFabric1.1-KB2932678-x64-ENU.exe.
http://support.microsoft.com/kb/2932678

And we had to install .NET 3.5 through command line for AppFabric to even start.
http://fix.lazyjeff.com/2014/10/how-to-install-net-framework-35-on.html