Non-isothermal injection moulding with resin cure and preform deformability