No need to uninstall. If installing new, do a custom install and deselect the component.

If it’s already there, control panel/programs and features (add/remove for XP)/ avast / change
Deselect the component you want to remove.