I had a very similar problem after formatting my hard drive on a Samsung laptop; I would get 1 or sometimes 2 minutes into the installation and the computer would suddenly switch off, it kept happening and was driving me nuts. Sometimes I would get a brief BSoD just before hand.
The cure was obscure but very simple:
Near the beginning of the XP install when you are prompted to press F6 to install third party drivers (or something like that) press F7
You won't get any visual confirmation but this will run Setup without Advanced Configuration and Power Interface (ACPI) which appears not to work correctly with many BIOS versions.
This very simple fix cured what had been an infuriating and seemingly unresolvable problem for me.
For more information see: Description of the Windows Setup Function Keys