The possible reason for this is that the wmp.dll is out of sync with what you are trying to install.
This method is suitable for those users who have originally removed modern applications from the Windows image, as well as owners of Windows 10 LTSC Enterprise, which does not have any preinstalled UWP applications at all. Windows Media Player is not installed properly and must be reinstalled.