When you say the window vibrates, do you mean it is squeaking against the seal on the hood?
If so, the trick is to stop the movement between the glass and the seal, not to try to lubricate it. The official solution from BMW (invented for the back doors on 5-series, apparently) is to remove anything from the seals using their silicone remover - not cheap even for a small bottle, but it works really well.
The idea is to get the rubber seal to stick to one place on the window and for all the flex to take place in the seal, and not by the seal sliding (squeaking) over the glass. It works. Re-apply every year or so to keep the seals un-squeaky.