What exact version of avast do you have? Where did you get the license key from?
P.S. The “C7…” is not a license key, but a registration code.