I had to strip away the interior coverings around all the windows
to replace the wood framework. This is on a Trillium
I used 3M Rubber and Vinyl Spray Adhesive, coating both the wood/fiberglass and the back of the foam. Let it set up a minute or two (be sure to have the windows
open!), and carefully press in place. It has held up very well, with no peeling.
Spray on liberally. You need to thoroughly coat both surfaces, and then let it tack up for at least a minute. You really want to make sure the windows
are open, or use a respirator; this stuff is nasty.