The rough opening
The part of the window you never see
The trim hides it, but the opening decides whether a window stays dry and keeps working. Here is each step between the old window and the new trim, with a photo of the step.

Six steps behind the trim
In this order, at every opening.
01Line the sill
A self-adhesive pan, sloped to the outside, so water that reaches the sill runs out and not in.
02Tape the corners
Flashing tape lapped from the bottom up, corners first, over the weather barrier on the wall.
03Shim to square
Plastic shims at the hinges and the lock side, checked with a level, so the sash closes true.
04Foam the gap
A thin bead of low-expansion foam all round, so the gap is filled without bowing the frame.
05Seal the joint
Backer rod and sealant between the frame and the siding, where the trim will cover it.
06Trim it
Casing mitered and nailed inside, and trim set outside. This is the part you see.
Before the new window goes in
We show you the opening first
When the old window is out, we stop and show you what is behind it: the sill, the wrap, the framing. If something needs work, you see it, we write down what it adds, and you decide. Nothing behind the trim is a surprise on the invoice.
A look at the opening before the new window goes in
Anything soft or stained written down before it is repaired
Photos of the opening, if you would like them

Questions about the opening
What is a rough opening?
The hole in the wall framing that the window goes into, before any trim. Its size and condition decide how the window sits and whether it stays dry.
What is flashing?
Sheets and tape that overlap like shingles, so water that gets behind the siding is led down and out of the wall instead of in.
Why foam and not insulation stuffed in the gap?
Low-expansion foam fills the gap and seals it without pressing on the frame. Stuffed material leaves gaps and can hold water. We read the label and use the foam made for windows.