Note: this method no longer works (using Epic Games Launcher 14.7.1). The correct method is given here: Changing the Location of a Previous Installation of Unreal Engine.
I’m replying to this topic even though it is old, as it shows up first in the Google search engine, ahead of The launcher doesn’t recognize versions already installed in requested folder, which does give a currently valid answer.