The architecture of CODESYS makes it possible to install several versions of CODESYS in parallel on one computer, even in the same directory.

This description provides recommendations regarding what needs to be observed as well as the advantages and disadvantages of the different variants.


Versions < SP13:

Installation in the same directory

Several CODESYS versions can be installed at the same time in the same directory.

In doing so the following must be observed (recommendation):

This can lead to unexpected effects.

Advantage

Disadvantage

Installation in different directories

You can also install each version in a separate directory.

Advantage

Disadvantage


Versions >= SP13:

Installation in different directories (mandatory)

An empty directory is required for the installation.

Advantage

Disadvantage

It is possible to import packages from the previous installation during the first start-up of the new version.


Please note that in all cases the repositories are commonly used by all CODESYS versions. This can lead to unexpected behavior

  • when creating new projects
  • when diverting library placeholders
  • when referencing libraries with "latest" (which one should never do, except for interface and use case libraries)





For advanced users

Versions can also be installed completely separately (including the repositories)

Proceed as follows to do this:

  1. Make sure that the directory <C:\ProgramData\CODESYS> does not exist, or rename it if necessary.
  2. Install the first CODESYS version.
  3. Move the directory <C:\ProgramData\CODESYS> to a new directory, which will be unique to this CODESYS version (e.g. to <C:\ProgramData\CODESYS <CODESYS version>>)

    Please note, a non-admin user has no write access to <C:\Program Files\>
    So it is recommended that the newly created directory is instead stored in <C:\Program Data\>

  4. Open the file <CODESYS_install_dir>\CODESYS\Settings\RepositoryLocations.ini and replace all paths to <C:\ProgramData\CODESYS> by the new path (search/replace).
  5. Proceed in exactly the same way with the second CODESYS installation.