Before installing the new cabinets, prepare the wall surface to ensure a smooth and secure installation. Remove any wallpaper or paint from the area where the cabinets will be mounted. Repair any holes or imperfections in the wall using spackle or putty. Sand the surface to create a smooth finish and apply a primer if necessary.