Controlling the humidity during curing, setting or hardening