I am trying to install AppFabric on my Win7 dev machine but the installer crashes immediately when I run it. Debugging, I see the following error:
System.InvalidCastException was unhandled
Message=Unable to cast COM object of type 'CbsSession' to interface type 'ICbsSession'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{75207391-23F2-4396-85F0-8FDB879ED0ED}' failed due to the following
error: Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
Source=Setup
StackTrace:
at Microsoft.ApplicationServer.Setup.PlatformUpdater.NativeMethods.CbsSession.Initialize(UInt32 sessionOptions, String client, String bootDrive, String imageWinDir)
at Microsoft.ApplicationServer.Setup.Client.PendingRebootDetection.IsRebootPendingViaCbs()
at Microsoft.ApplicationServer.Setup.Program.Main(String[] args)
I've tried both the x64 and x86 packages, running the System Update Readiness tool etc. all to no avail. This is doing my head in!