The nonlinear propagation of arbitrary amplitude of dust ion-acoustic (DIA) waves in an unmagnetized dusty plasma composed of a cold ion fluid, stationary dust grains and hot electrons obeying a trapped distribution, is investigated. The trapped particles are included in this model as a result of the nonlinear resonant interaction of the localized electrostatic wave potential with electrons during its evolution. The properties of large amplitude solitary waves are studied by deriving an energy integral equation involving the Sagdeev potential, whereas those of small but finite amplitude DIA solitary waves are investigated by means of the reductive perturbation method. The new parametric regimes for the existence of solitary structures are found, and the effects of trapped electrons along with static dust particles on these profiles are discussed.