By default, avast! has self-defense enabled - which makes it impossible to automate the removal (if someone could silently uninstall avast!, malware could do it as well).
Business products have central management (which can perform remote uninstallation, of course), but avast! Free is "standalone".