I can't believe the answers here. I taught auto collision for 15 years. Do not use an adhesive of any kind especially weather strip adhesive.
Take it to the dealership or credible body shop and have them use the appropriate tape. Adhesive is going to cause nothing but problems as noted above. Use the same thing that was in there before.