Avast Cleanup Premium Fails While Installing

When I was trying to download Avast Cleanup Premium, I got an error that read as follows at around 15% completion:

"
C:\Program Files (x86)\AVAST Software\Avast Cleanup\aswCmnBS.dll

An error occurred while trying to replace the existing file:
DeleteFile failed; code 5.
Access is denied.

Click Retry to try again, Ignore to skip this file (not recommended), or Abort to cancel installation.
"

Does anyone know how to fix this? I’m running Windows 10 and the latest version of Avast Free Antivirus, so I don’t know what’s wrong. Clicking “Ignore” or “Retry” brings up the error again.

delete the AVAST Software folder then install worked to me

Thanks Nuy, worked for me too