The stability of a nonisothermal system consisting of two superimposed fluid layers: a thin liquid film layer and a gas layer sandwiched between differentially heated horizontal solid plates in the gravity field, is investigated. The system is assumed to be subjected to the Rayleigh–Taylor instability (RTI) with the Marangoni effect that either enhances the RTI or opposes it and to the tangential harmonic vibration of the upper substrate. A set of reduced evolution equations is derived based on the weighted-residual integral boundary layer approach, and the investigation is carried out in the framework of this set. The base state of the system represents a time-periodic flow, and its linear stability analysis is carried out using the Floquet theory in the large-time limit. The nonlinear dynamics of the system is investigated numerically in the case of either a static or vibrating substrate. Among the possible outcomes of the nonlinear dynamics, there is the emergence of ruptured states of the liquid film with rupture taking place at either the upper or lower substrate and also the emergence of saturated continuous flows of the liquid film. We also find that the nonlinear dynamics of the system is consistent with the results of the linear stability analysis in terms of enhancement or attenuation of interfacial distortion.