Before you install the door you need to perform other works.
At what stage of repair interior doors are installed : Before You Install The Door You Need To Perform Other Works.
Quote from Article entitled At what stage of repair interior doors are installed:
All works, during repair giving a lot of dust and dirt, must be done before:Installation, replacement of windows.Plaster, leveling, priming of ceiling.Plaster, leveling, preparation for pasting or painting walls.Rough handling of floor, its leveling, and preparation for covering.
Further it is possible to vary time of door installation.
The full version of the article can be found here.