Abstract A scale invariant theory of gravity, containing at most two derivatives, requires, in addition to the Riemannian metric, a scalar field and (or) a gauge field. The gauge field is usually used to construct the affine connection of Weyl geometry. In this note, we incorporate both the gauge field and the scalar field to build a generalised scale invariant Weyl affine connection. The Ricci tensor and the Ricci scalar made out of this generalised Weyl affine connection contain, naturally, kinetic terms for the scalar field and the gauge field. This provides a geometric interpretation for these terms. It is also shown that scale invariance in the presence of a cosmological constant and mass terms is not completely lost. It becomes a duality transformation relating various fields.