Try uninstallng AIS and then re-installing. Make sure you use the proper procedure to uninstall
https://forum.avast.com/index.php?topic=76202.0
Alternatively you could go into the W8 Programs and try a repair of AIS
I've uninstalled using the uninstaller tool, which resolved the unusable keyboard issue. When I reinstalled, however, I still got the error message for the firewall install. I also tried the repair and it completes but it doesnt try to install the firewall. When I do change and try to install the firewall I get the following error.
"The avast! Firewall driver couldn't be installed. The installation will proceed without the avast! Firewall component."
This is from the "minimal" log. This is just the portion that gets the errror.
03.11.201222:44:32vps: event 0x0004002A set
03.11.201222:44:32Installing aswNet driver - start
03.11.201222:44:32Installing aswNet driver - end, returned code 0 (0x)
03.11.201222:44:34Error installing C:\Program Files\AVAST Software\Avast\Setup\Inf\x64\aswNdisPt.inf (0x800705AA)