The evolution of the interstellar medium in elliptical galaxies. I, The early wind phase