This is the answer to the question How do I drain water from a window opening?
I would recommend to use this scheme.