Most of having issue installing. Code Error HRESULT 0xc8000222 NET Framework 4. 0. Which have no descriptive malfunction message, there's no choice yet to search for the solution emerged by non-Microsoft folks.
Here come the solution: Just before installing. NET Framework 4. 0:
1.) open "cmd"
2.) type in command "net stop "WuAuServ" (disable windows update)
3.) Head over to Run ( Win+R ) and type in "%windir%" (this command line enable you to head over to your microsoft windows system folder)
4.) Find the folder "SoftwareDistribution" and rename it as "SDold"
5.) Then, go back the previous command prompt and also run the command line "net start WuAuServ"
6.) At this point, try to install. NET Framework again.
I hope this will help solve the problem if you have questions in mind please do comment it below the post I will be glad to answer them all.