Uninstall avast, delete the reg key HKEY_LOCAL_MACHINE\Software\ALWIL Software and reinstall avast.
This will solve the problem.

BTW - did you upgrade your OS or not? (I mean like from Win98 to XP…).

Thanks
Vlk