What sort of loop? XP copies files to the hard disk and statrs to work with them. A routine restart takes place and you should do nothing while that happens. If you do react to the prompt "Press any key to ..." the whole process starts again. Don't react to that prompt and in a normal installation, things should proceed from there.
So what sort of loop are you experiencing if it isn't that one?