"The procedure entry point IsThreadDesktopComposited could not be located in the

When I run the installer for Comodo v3 I get that error message. I click on OK and the installer runs as usual.

Then when I reset PC that message appears again and every time I reset PC. Any idea why?

https://forums.comodo.com/empty-t13265.0.html

I just had to restore my system and the DWMAPI.dll file had gotten restored. The same problem came back. Deleting the file solved the problem again.