I found out that if you do not let RTV Silicone cure *completely*, and apply voltage, it breaks-down, sparks, and burns. This was at 600V; have not re-checked at lesser voltage.
My go-to glue for many things is
Shoe Goo. Also sold as Plumber's Goop and some other names.
This is the stuff used in shoe factories to assemble shoe soles and uppers to soles. A rubbery base cut with a strong solvent.
Or used to be. As we recall, true shoe goo can be sniffed for fun, damages brain and liver. Also makes smog. About 25 years ago Shoe Goo reduced the solvent content and flavor. It still works, though not as good. Too thick and slow for rapid shoe production, adequate for general stiction.
I have used Shoe Goo to attach nailer boards to concrete walls with no other fastening.
I just today used it to attach trim-washers to wing-bolts so the washers don't fall off when you open the fusebox. It stays rubbery so the washers will set flat on the box cover despite warpage.
I've gooed a LOT of capacitors into place. Never a worry that they will fall off. And I have never seen it cause corruption on fine copper electronics. It's just solvent. Rots your brain, not your copper. Oh, probably upsets fine varnish and paint too.
I've even repaired shoes with Shoe Goo.
Main drawback is that it stinks like a urinal for 20 hours. Once cured it is quite innocent.