Hi, I am Dave, I will help you with this.
This is usually caused by a known bug in the iCloud Installer.
Open the Settings App, then go to System - About.
If you have Windows 11 Home or Pro, not an N version of Windows installed, then you do not need to install the Media Feature Pack separately, it is already installed.
Open the old Control Panel
At the top of the old Control Panel, set View to large icons
Open Programs and Features
On the left select 'Turn Windows features on or off'
Expand the Media Features section, is the old legacy Windows Media player enabled?
If that is not enabled, enable it and then restart your PC.
If that does not solve the problem installing iCloud, you will need to contact Apple support, there is a bug in their iCloud app installer.