Can headliner be installed with glass in?

We did my old '66 Barracuda with the glass in. We also made the headliner ourselves in 1984. Total cost was around $20 and that included some batting for insulation. That headliner lasted far longer than the original and might still be in good shape.

Also, reinstalled the headliner in my '67 fastback with the glass in, but only because I forgot to put it in first. It was still in good shape and was not original to the car. That was in 2006.