If the rubber is rock hard and old your best bet is to buy a new seal and slice the old gasket, then push the window out. If the gasket is still in good shape, soapy water and a thin piece of roap or coated wire to work the assembly outward from the window frame.