Ran into a new issue today installing Lync Server 2010 on a freshly baked Windows Server 2008 R2 SP1 server. During the Setup Lync Server Components step of the installation, it failed with an error, “Prerequisite installation failed: Wmf2008R2“.
%systemroot%\system32\dism.exe /online /add-package /packagepath:%windir%\servicing\Packages\Microsoft-Windows-Media-Format-Package~31bf3856ad364e35~amd64~~6.1.7601.17514.mum /ignorecheck
Once the package is updated, restart the computer when prompted, and continue with the installation. The Lync setup check will detect that the a proper version is installed and will proceed.