No, the hinges are not installed on the door before the door is closed. Frames are used to keep a door open or closed, and they are placed by the individual who will be utilizing the door in the first instance.