Replacement Windows

I want to replace old aluminum framed windows with double-paned windows. The house is stucco on the outside. Can anyone point me to a tutorial on how to do this? I'm particularly interested in how to insure a water-tight solution.
Thank you.
Add pictures here
<% if( /^image/.test(type) ){ %>
<% } %>
Add image file
Upload is a website for homeowners and building and maintenance pros. It is not affiliated with any of the manufacturers or service providers discussed here. All logos and trade names are the property of their respective owners.