[windows-installer] AppFabric installation failed because installer MSI returned with error code : 1603

I've also had a similar problem. The cause was AppFabric generated a scheduled task and it was left behind when it was uninstalled.

the error message in the logs:

"/create /tn "\Microsoft\Windows\AppFabric\Customer Experience Improvement Program\Consolidator" /xml "C:\Program Files\AppFabric 1.1 for Windows Server\Consolidator.xml" Error: ERROR: Cannot create a file when that file already exists."

It can't create the Task because it already exists.

To delete this task.

  • Go to: %SYSTEM32%\Tasks\Microsoft\Windows.
  • Delete the AppFabric Folder.

Then try to re-install it again.

Note: You could also try to delete it from the Task Scheduler GUI but in my case it wasn't shown there.