These documents can help avoid/resolve conflicts when installing multiple versions of Codesys.

The windows service for the Codesys Gateway will always point to the gateway folder form the latest Codesys install. There is information here about how to deal with that, as well as how to keep unique files/libraries from each version from creating conflicts with each other.