There should have been some new peel and stick flashing at the very least. You start from the bottom and work your way up with the tyvek overlapping the piece at the very top. It works much like overlapping shingle on a roof. In addition, a piece of head flashing above the window would have been nice if the window didn't have one incorporated into it already.
Josh Jaros (The Woodlands, TX)