exterior paint for foamie

Within a few (or more ) weeks I should be able to paint my foamie. Got a few questions. 1 do you guys paint the body before installing thing like windows/vents etc, so that there is paint under the window flange surfaces ? 2 has anyone used the type of paint used to stop water from seeping through concrete block basement walls ? did not know if that may be something of any value ?