It is possible to have multiple versions of Web Port installed on the same development computer, which can facilitate working with projects against installations that have older versions of Web Port and where it is not possible to upgrade to the latest version.
This document describes how the multi-version setup works.
NOTE!
We always recommend keeping installations up to date with the latest version as much as possible to take advantage of new functionality, better performance and the latest bug fixes.
Install standard version
Start by installing a normal setup of the latest version of Web Port. This can be kept up to date with new versions and patches and should be the primary working version. If the need arises to modify projects of earlier versions where one does not want to update to the latest release, the following steps should be followed.
Install Multi-Setup version
Download the multi setup installation file for the desired release. These are available from version 1.19.10 onwards. Run the installation program. Multi setup installations are standalone and can only be patched within the same major release. They have their own installation and program data catalogs.
Links to multi-setup files:
Version 1.19.10
Version 2.20.6
Version 2.21.6
Version 2.21.12
Version 2.22.6(32-bit)
Version 2.22.6(64-bit)
Version 2.23.3 (32-bit)
Version 2.23.3 (64-bit)
Version 2.23.10 (32-bit)
Version 2.23.10 (64-bit)
Version 2.24.3 (32-bit)
Version 2.24.3 (64-bit)
Update of configuration file
In order for multi setup installations to go to their own project directory, the webport.conf configuration file must be updated in the main installation. This file is by default located at C:\programdata\webport. Open the file in a text editor and complete with the desired version as in the example below.
{
"default": {
"DataPath": "C:\\ProgramData\\WebPort",
"ProjectPath": "C:\\ProgramData\\WebPort\\Debug",
"Language": "sv-SE",
"ServerPort": 8090
},
"1.19.10": {
"DataPath": "C:\\ProgramData\\WebPort 1.19.10",
"ProjectPath": "C:\\ProgramData\\WebPort 1.19.10\\Analytics",
"Language": "sv-SE",
"ServerPort": 8090
},
"2.20.6": {
"DataPath": "C:\\ProgramData\\WebPort 2.20.6",
"ProjectPath": "C:\\ProgramData\\WebPort 2.20.6",
"Language": "sv-SE",
"ServerPort": 8090
}
}
Organize projects
A project that is to be opened with a multi version should be placed in a named subfolder of the data directory for the respective release.
Example: C:\\ProgramData\\WebPort 1.19.10\\project1
In this way, projects can be kept apart without being accidentally upgraded when the main version of Web Port is updated. Projects that are to use the latest version and wish to be kept up to date can, as before, be placed in the regular data directory.