Removing front windshield and back glass

So after trying to save both the front and rear gaskets, epic fail. They were both dry rotted and whoever had the car before me thought it would be a great idea to put some sort of sealant under the gasket on the windows (front and rear) in order to stop some leaks or something..it ate away the gasket from the inside out. So now I'm looking for front and rear gaskets and lockstrips, or some sort of alternative. Any suggestions?