See if the following mis of help https://knowledge.autodesk.com/search-result/caas/sfdcarticles/sfdcarticles/The-application-was-unable-to-start-correctly-0xc0000022-Click-OK-to-close-the-application.html
Are you using an account with limited rights while trying to install Avast ??? The program should be installed by the user with Admin. rights.