The article is devoted to the problem of propagation of weakly nonlinear wave-packets along contact surfaces in a three-layer hydrodynamic system "half space – layer – layer with rigid lid". The condition of solvability of the problem in the third-order approximation is obtained, the evolution equation is derived in the form of a nonlinear Schrodinger equation and the modulation stability condition for its solutions is obtained. The stability diagram and its analysis are presented for the solution which takes place in the case of the balance between dispersion and non-linearity.