By testing some components I have uninstall the AppFabric 1.1 from SharePoint 2016 afterward I tried many ways to re-install it but end with no luck.
Command to install AppFabric: Start-Process ":\PrerequisiteInstaller.exe" –ArgumentList "/AppFabric:\WindowsServerAppFabricSetup_x64.exe"
There wasn’t any log representing what was the issue other than showing warning “AppFabric caching service is not installed.” And prerequisite end with failed to install AppFabric.
Solution:
By removing the PSModulePath from Windows Environment Variables you can able to re-install the AppFabric. How?:
Type sysdm.cpl in search window –> go to Advanced tab –> Click on Environment Variables –> Now delete the PSModulePath