Where are the Settings Stored? In Case of Reinstal

Also I wanted to ask where are the custom actions settings stored? I have a a nice bunch and would like to back them up in case I install future versions. Thanks

Installation & Backup