Here you can see the the window is installed into the frame created with pressure treted lumber. After the lumber is insalled the window gets attached to the pressure trated wood frame. Before the final PVC trim is attached we also use a heavy about of silicone sealant to add to the water protection.