To do it properly the glass must come out as the vinyl is folded under into the inside & the rubbers trap it.
The way I removed one was to take a knife, make a cut then just keep tearing until it's gone. Steve did his the same way but didn't have trouble with the glue. I did though, nothing would shift it, thinners, acetone, in the end I used paint stripper which is a savage way of doing it as any splashes will ruin good paint.
Once it was off and the glue removed I took the glass out at the last possible minute & sealed/painted the whole lot in one go.