Measure the height and width of the window. Add four inches to each measurement, and cut four strips of aluminum flashing to match. Adding the extra four inches provides extra protection against leaks.
Install the flashing along the bottom edge of the window by sliding the top of the flashing underneath the bottom flange of the window. Position the flashing so that it extends two inches past each side of the window. Drive galvanized roofing nails through the flange and the flashing, and into the siding.
Slide one of the flashing strips underneath the flange on one side of the window, centering it so that two inches of the flange extends past the top and bottom of the window. Overlap the bottom of the flange with the side piece, which prevents water from seeping down underneath the bottom flashing. Nail the flashing into place.
Install the flashing on the other side of the window, following the same process you used for the first side.
Slide the flashing for the top of the window underneath the flange along the top edge. Center the flashing over the window, with two inches extending past each side of the window, and overlap the side flashing. Nail it into position with galvanized roofing nails.