Error Code 0x800f081f means CBS_E_SOURCE_MISSING.
Perform a repair installation known as In-place Upgrade to fix the problem.
Make sure you always back up your data when performing a repair installation.
Because even an in-place upgrade can go wrong in the worst case scenario.
You should also temporarily uninstall third-party antivirus programs beforehand and also use the removal tool if the manufacturer provides one.
Greetings