if this is coming from rubber seals around the windows and such:
GUMMIPFLEGE ! BMW part # 82 14 9 407 015.
comes in a tube for $7.50, apply to seals with bare hands, wipe excess off. re-apply every quarter or so (roundel jan 04). cured the damn squeak from my drvier's side window.