Error during setup

I get getting an error during setup, I have a compaq prasrio(most likely didn’t spell that right) c700 windows vista I got it from a friend and when i got it the windows files where corrupt I did a factory restore, and everything seems to be working fine, but its not letting me install programs for what ever reason, everything keeps getting error messages. if anyone could help I would love that, thanks. I have a copy of the error log. Which I am going to post here in a reply to this post .

-Kenny

Okay so I lied, if anyone wants to see it just ask me and I will e-mail it to you

Perform Windows Updates, reboot, repeat several times the update and reboot, until no updates are available. This must include SP1 and SP2 for Vista, among others.

If it’s an error log due to a problem installing avast then you can post the log here, no one is going to give out there email address to someone we dont know ???