User preference

When installing a new version of Blender to the directory of the current installed version, will the new version of Blender automatically use the existing .B.blend and so the user prefs? I want to keep my current setup intact.

Usually the b.blend file that stores the prefs is kept, but you can simply make a backup of it in case you lose it due to the installation.