You use the Avast uninstall utility in Safe Mode ( https://www.avast.com/uninstall-utility )
You install Avast in regular mode.