Measure the inside dimensions of the cabinet where you plan to install the wine rack. Mark the same measurements on both lattice panels, making the marks so the lattice panels stay symmetrical.
Clamp the lattice panels to sawhorses and cut along the lines you marked using a circular saw. Sand the cut portions of the lattice panels until they are smooth.
Spread wood glue onto the ends of the lattice panels where they will contact the inside of the cabinet. Insert the lattice panels into the cabinet, positioning the panels with an 8-inch gap between them.
Drive finishing nails through the lattice panels and into the sides, top and bottom of the cabinet to anchor the panels in place. Use three nails per inch to create a strong bond. Allow the wine rack to sit for at least four hours before you begin using it.