Good timing on this question. Nowadays, when glass shops install windshields on older cars, they typically only use a black silicone type sealant. The clips that hold the windshield moulding are made exactly for that: Hold the moulding in place
Although the black sealant does get on the moulding, it is not meant to hold the moulding in place