Installation of doors and windows