I came across this error message while setting up Lync 2010 in my lab. I have setup Lync before, but the only difference in this case was that I was installing it on Windows 2008 R2 with SP1. The error comes up in the Lync server components setup wizard.
The log file showed the error below.
The “wmf” part in the error message indicated that the error was to do with the Windows Media Format. A quick google brought up the KB article 2522254. The problem is that the WMF package version has changed for Windows Server 2008 R2 SP1 and the fix is to run the following command from an elevated command prompt.
%systemroot%\system32\dism.exe /online /add-package /packagepath:%windir%\servicing\Packages\Microsoft-Windows-Media-Format-Package~31bf3856ad364e35~amd64~~6.1.7601.17514.mum /ignorecheck
I ran the command and it asked for a server reboot, which I did.
Once the server was back online, I could successfully complete the installation, as the Lync setup detected that the correct version of WMF was installed.