I would either r&r the window or use some Window Weld .. its a sealent thats used by factorys to install windshields and side glass..
Dont be tempted to use silicone of any kind .. UV will break it down real fast IF it will even stick .. been there ..