This paper theoretically treats the weakly nonlinear propagation of diffracted sound beams in nonuniform bubbly liquids. The spatial distribution of the number density of the bubbles, initially in a quiescent state, is assumed to be a slowly varying function of the spatial coordinates; the amplitude of variation is assumed to be small compared to the mean number density. A previous derivation method of nonlinear wave equations for plane progressive waves in uniform bubbly liquids [Kanagawa, Yano, Watanabe, and Fujikawa (2010). J. Fluid Sci. Technol. 5(3), 351-369] is extended to handle quasi-plane beams in weakly nonuniform bubbly liquids. The diffraction effect is incorporated by adding a relation that scales the circular sound source diameter to the wavelength into the original set of scaling relations composed of nondimensional physical parameters. A set of basic equations for bubbly flows is composed of the averaged equations of mass and momentum, the Keller equation for bubble wall, and supplementary equations. As a result, two types of evolution equations, a nonlinear Schrödinger equation including dissipation, diffraction, and nonuniform effects for high-frequency short-wavelength case, and a Khokhlov-Zabolotskaya-Kuznetsov equation including dispersion and nonuniform effects for low-frequency long-wavelength case, are derived from the basic set.