The cavity tray should help prevent water resting on the window frame within the inner cavity. You would also need weep holes. Although a cavity tray can be difficult to retrospectively install. As long as the external walls are in good condition then water should get in the cavity in the first place!