Make sure the harness is the type with the power for the headlights comes from the battery to the relay AND use the existing wiring for switching the relays on and off only.
Another thing is to make sure the wiring for the main power is at least 12 ga wire and run a ground wire back to the battery fusing both the power and the ground wires.
A bad ground wire can cause excesive resistance in the system, overheating of the wiring and may be the cause of the burn up.
Run the extra ground wires (12 ga) from the light to the battery or a common grounding point near the battery, just to be on the safe side.
Luck,