I have a requirement where we need to install postgres where some other installation of postgres is already running using silent installation mechanism of postgres.
Many times we found issues where script/configuration file are pointing to old installation not the new one.
Is there any recommended way of solving this kind of problem?