Anyone install a pool heater indoors or in a shed? What type of pipe/venting did you use for the exhaust and what adive do you have for running it through the roof? (type of pipe, flashing used, distance from studs/joists)

Thanks
John