What do you mean by "stuck"? A lot of people just don't give it enough time to do its thing. There are times during the Vista install where it appears to hang, just give it some time.
If the computer is actually freezing, you might need to manually set the RAM speed/timings/voltage to the manufacturers specs in the BIOS. In fact, it's always a good idea to manually set these even if you're not having problems.