Try running the Pre Req wizard two or three times. That seems to solve most issues.
Check the documentation from Microsoft about exchange 2013 and 2008 r2 server
Other methods that I saw are
Some people had luck uninstalling the update you mentioned, meaning it was in part installed and now it thinks its missing.
To check to see its installed or not do the following.
Would you please expend to Control Panel\System and Security\Windows Update\View update history to check if the KB974405 is already installed
Windows Identity Foundation (Windows6.1-KB974405-x64.msu)
Since if this error could be caused by this update missing. If not, please install it and try to install SPS again. Here is an article for “Setting Up the Development Environment for SharePoint 2010 on Windows Vista, Windows 7, and Windows Server 2008”, please refer:
If the issue persists, the best resource for you is SharePoint forum. The community users in that forum are familiar with the SharePoint related issue.
Hope that helps
I had the same issue and resolved it by manually installing the Windows Identity Foundation KB from here: http://www.microsoft.com/download/en/details.aspx?id=17331
and then restarting the SP2010 Prerequisites installer.
Still not working try the following
I ran into the same issue after attempting to re-run that scipt and having blew up my dev environment earlier. When I hit that step like you did, I got around it by uninstalling KB974405. The script then installed KB974005 and continued on.
Source for the above info for you is