Home > AppFabric > Setting up AppFabric on Windows 2012R2

Setting up AppFabric on Windows 2012R2

As an update to https://jefferytay.wordpress.com/2014/01/07/appfabric-on-windows-server-2012-r2/, here are the steps to install AppFabric on a CLEAN install of Win2012R2

 

Not the first time?

Goto Groups Management and delete the AS_Administrators and AS_Observers groups
image

 

Preflight Check

  1. AppFabric 1.1: Download from http://www.microsoft.com/en-sg/download/details.aspx?id=27115
  2. AppFabric 1.1 CU 5: Download from http://www.microsoft.com/en-sg/download/details.aspx?id=42281
  3. Windows Server 2012R2 DVD mounted on D Drive

 

Setting up AppFabric Pre-Requisites

Use the following powershell script to setup all the necessary pre-requisites for AppFabric

#ensures running as admin
$RunningAsAdmin = ([Security.Principal.WindowsPrincipal] [Security.Principal.WindowsIdentity]::GetCurrent()).IsInRole([Security.Principal.WindowsBuiltInRole] "Administrator")

if (!$RunningAsAdmin)
{
    Write-Warning "Must be executed in Administrator level shell."
    Write-Warning "Script Cancelled!"
    return;
}

$Updates = (New-Object -ComObject "Microsoft.Update.AutoUpdate").Settings

if ($Updates.ReadOnly -eq $True) { Write-Error "Cannot update Windows Update settings due to GPO restrictions." }

else {
    $Updates.NotificationLevel = 4 #Enable
    $Updates.ScheduledInstallationDay  = 0
    $Updates.Save()
    $Updates.Refresh()
    Write-Output "Automatic Windows Updates enabled."
}
Install-WindowsFeature Web-WebServer, Web-Mgmt-Console, NET-Framework-Core,Web-Default-Doc, Web-Dir-Browsing, Web-Http-Errors,Web-Static-Content, Web-Http-Logging, Web-Stat-Compression, Web-Filtering -IncludeManagementTools -Source D:\Sources\Sxs

Installing AppFabric

  1. Run the AppFabric Installer WindowsServerAppFabricSetup_x64.exe
  2. Accept the license agreement and click Next
    image
  3. Decide whether you want to help Microsoft with the setup experience and then click Next
    image
  4. Just click Next
    image
  5. To be on the safe side, checkbox everything and click Next
    image
  6. Click install and wait for the installation to be completed
  7. Once it is done, uncheck Launch configuration tool and click Finish
    image
  8. Now double click on AppFabric1.1-KB2932678-x64-ENU and install AppFabric 1.1 CU5
Categories: AppFabric
  1. January 3, 2016 at 10:06 pm

    tried many times and did many searches but no help,
    I’m stuck with this error.
    can you give me a favor?
    Thank

    2016-01-03 21:00:46, Information Setup ===== Logging started: 2016-01-03 21:00:46+07:00 =====
    2016-01-03 21:00:46, Information Setup File: c:\15d380dbcdedbc0800b8798bb0ff\setup.exe
    2016-01-03 21:00:46, Information Setup InternalName: Setup.exe
    2016-01-03 21:00:46, Information Setup OriginalFilename: Setup.exe
    2016-01-03 21:00:46, Information Setup FileVersion: 1.1.2106.32
    2016-01-03 21:00:46, Information Setup FileDescription: Setup.exe
    2016-01-03 21:00:46, Information Setup Product: Microsoft(R) Windows(R) Server AppFabric
    2016-01-03 21:00:46, Information Setup ProductVersion: 1.1.2106.32
    2016-01-03 21:00:46, Information Setup Debug: False
    2016-01-03 21:00:46, Information Setup Patched: False
    2016-01-03 21:00:46, Information Setup PreRelease: False
    2016-01-03 21:00:46, Information Setup PrivateBuild: False
    2016-01-03 21:00:46, Information Setup SpecialBuild: False
    2016-01-03 21:00:46, Information Setup Language: Language Neutral
    2016-01-03 21:00:46, Information Setup
    2016-01-03 21:00:46, Information Setup OS Name: Windows Server 2012 R2 Datacenter
    2016-01-03 21:00:46, Information Setup OS Edition: ServerDatacenter
    2016-01-03 21:00:46, Information Setup OSVersion: Microsoft Windows NT 6.2.9200.0
    2016-01-03 21:00:46, Information Setup CurrentCulture: en-US
    2016-01-03 21:00:46, Information Setup Processor Architecture: AMD64
    2016-01-03 21:00:46, Information Setup Event Registration Source : AppFabric_Setup
    2016-01-03 21:00:46, Information Setup
    2016-01-03 21:00:46, Information Setup Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : Initiating V1.0 Upgrade module.
    2016-01-03 21:00:46, Information Setup Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : V1.0 is not installed.
    2016-01-03 21:01:00, Information Setup Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : Initiating V1 Upgrade pre-install.
    2016-01-03 21:01:00, Information Setup Microsoft.ApplicationServer.Setup.Upgrade.V1UpgradeSetupModule : V1.0 is not installed, not taking backup.
    2016-01-03 21:01:00, Information Setup Executing C:\Windows\Microsoft.NET\Framework64\v4.0.30319\aspnet_regiis.exe with commandline -iru.
    2016-01-03 21:01:01, Information Setup Return code from aspnet_regiis.exe is 0
    2016-01-03 21:01:01, Information Setup Process.Start: C:\Windows\system32\msiexec.exe /quiet /norestart /i “c:\15d380dbcdedbc0800b8798bb0ff\Microsoft CCR and DSS Runtime 2008 R3.msi” /l*vx “C:\Users\LongNX\AppData\Local\Temp\AppServerSetup1_1(2016-01-03 21-01-01).log”
    2016-01-03 21:01:01, Information Setup Process.ExitCode: 0x00000000
    2016-01-03 21:01:01, Information Setup Windows features successfully enabled.
    2016-01-03 21:01:01, Information Setup Process.Start: C:\Windows\system32\msiexec.exe /quiet /norestart /i “c:\15d380dbcdedbc0800b8798bb0ff\Packages\AppFabric-1.1-for-Windows-Server-64.msi” ADDDEFAULT=Worker,WorkerAdmin,CacheService,CacheClient,CacheAdmin,Setup /l*vx “C:\Users\LongNX\AppData\Local\Temp\AppServerSetup1_1(2016-01-03 21-01-01).log” LOGFILE=”C:\Users\LongNX\AppData\Local\Temp\AppServerSetup1_1_CustomActions(2016-01-03 21-01-01).log” INSTALLDIR=”C:\Program Files\AppFabric 1.1 for Windows Server” LANGID=en-US
    2016-01-03 21:02:19, Information Setup Process.ExitCode: 0x00000643
    2016-01-03 21:02:19, Error Setup AppFabric installation failed because installer MSI returned with error code : 1603
    2016-01-03 21:02:19, Error Setup
    2016-01-03 21:02:19, Error Setup AppFabric installation failed because installer MSI returned with error code : 1603
    2016-01-03 21:02:19, Error Setup
    2016-01-03 21:02:19, Information Setup Microsoft.ApplicationServer.Setup.Core.SetupException: AppFabric installation failed because installer MSI returned with error code : 1603
    2016-01-03 21:02:19, Information Setup at Microsoft.ApplicationServer.Setup.Installer.WindowsInstallerProxy.GenerateAndThrowSetupException(Int32 exitCode, LogEventSource logEventSource)
    2016-01-03 21:02:19, Information Setup at Microsoft.ApplicationServer.Setup.Installer.WindowsInstallerProxy.Invoke(LogEventSource logEventSource, InstallMode installMode, String packageIdentity, List`1 updateList, List`1 customArguments)
    2016-01-03 21:02:19, Information Setup at Microsoft.ApplicationServer.Setup.Installer.MsiInstaller.InstallSelectedFeatures()
    2016-01-03 21:02:19, Information Setup at Microsoft.ApplicationServer.Setup.Installer.MsiInstaller.Install()
    2016-01-03 21:02:19, Information Setup at Microsoft.ApplicationServer.Setup.Client.ProgressPage.StartAction()
    2016-01-03 21:02:19, Information Setup
    2016-01-03 21:02:19, Information Setup === Summary of Actions ===
    2016-01-03 21:02:19, Information Setup Required Windows components : Completed Successfully
    2016-01-03 21:02:19, Information Setup IIS Management Console : Completed Successfully
    2016-01-03 21:02:19, Information Setup Microsoft CCR and DSS Runtime 2008 R3 : Completed Successfully
    2016-01-03 21:02:19, Information Setup AppFabric 1.1 for Windows Server : Failed
    2016-01-03 21:02:19, Information Setup Hosting Services : Failed
    2016-01-03 21:02:19, Information Setup Caching Services : Failed
    2016-01-03 21:02:19, Information Setup Cache Client : Failed
    2016-01-03 21:02:19, Information Setup Hosting Administration : Failed
    2016-01-03 21:02:19, Information Setup Cache Administration : Failed
    2016-01-03 21:02:19, Information Setup Microsoft Update : Skipped
    2016-01-03 21:02:19, Information Setup Microsoft Update : Skipped
    2016-01-03 21:02:19, Information Setup
    2016-01-03 21:02:19, Information Setup ===== Logging stopped: 2016-01-03 21:02:19+07:00 =====

  1. No trackbacks yet.

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

%d bloggers like this: