To begin with a virus scan would have removed the Virus, in most cases. You did not need to install Vista. We'll get back to this later.
Do you have a working Operating System on Your computer? Does Vista work at least part of the time?
Ok so I just got a virus on my computer [ 2002 Compaq Windows XP ] and so I told a friend and he got me the Windows Vista cd. So I put the cd in and i selected the custom install where it deletes everything and makes your computer clean [ so it takes the viruses off]. So it is pretty much like a restore cd for me. And after it was done installing i set up my username and password and then it did the performance check to see how fast my pc was or w/e. And after it was done with that it went to the login page and after about 10 seconds it automaticlly said Shutting down. So i took the cd out really fast and when my comp restarted it said somthing memory not found and boot invalid or and booting from windows C. and then it goes to the loading bar screen and the bar gets to the end and then thats where it stops. The computer does not want to go anywhere from there. SO WHAT DO I DO????????????? HELP ME PLEASEEE.
Oh and i also reinstalled everything and did not take out the cd this time and the same problem still came up.
So please tell me what the problem is and what I should do.

Chowhound
Comic Vine
GameFAQs
GameSpot
Giant Bomb
TechRepublic