Employee stated he had stomach cramps the week before. He had also tried to install a window air conditioner at home prior to the start of his shift. He thought he had drunk enough water. He felt a little faint after his shift started. He came out from under equipment and was kneeling when he felt faint again and lay down.