This functionality is only available for certain module packages. Info / Copyright

Action: XPrjActionUpgradeProjects


Parameters

Description

Project

Project name with complete file path.

Folder

Folder whose projects are to be updated. All *.elk and *.ell and *.elp are updated. Subfolders of the specified folder are included.

Archive

1: zw1 projects are also updated and then zipped.

BaseProject

1: zw9 and zx1 projects are also updated and then zipped.

UpgradeWriteProtectedProjects

1: Write-protected projects (file name extensions *.elr and *.elt, *.els, *.elx) are also updated.

UpgradeXMLProjects

1: Projects / basic projects in XML format (*.ept and *.epj, *.zx2) are also updated.

FileTypes

File type: If the value *.* is specified for the parameter FileTypes, all projects are updated. The following values are possible for the parameter FileTypes: *.elk, *.ell, *.elp, *.elr, *.elt, *.els, *.elx, *.zw1, *.zw9, *.zx1, *.ept, *.epj, *.zx2.

PackOriginalProject

1: The original projects are zipped after updating into a 7zip file (default setting).

UpdateConnections

1: The connections are updated in the project (default setting = 0). If the parameter DoDataModelUpgrades has the value 0, this value is ignored.

NoBackup

1: No backup copy of the old version is created (default setting = 0).

IgnoreUpgradeBackups

1: Backup projects are ignored when a complete folder is converted (default setting = 0). The backup projects have names that follow the following pattern: [PROJECT_NAME]_V[Version]_[Backup_time].

DoDataModelUpgrades

1: Customizations of the data model are carried out (pre-setting). If the value is 0, the parameter UpdateConnections is ignored.

Notes:

  • The action does not do anything if no update is required (except for XML formats).
  • Different input formats are supported. A project in the zw1 format is updated and packed into zw1 again.
  • All projects in the specified folder are updated (recursive). A backup (*.zw1) is created of each project before the update is carried out.
  • Basic projects are only updated when a main version change has been made. In the case of smaller modifications basic projects remain unchanged.
  • Each updated project generates a system message with the result of the update.

  • If the parameter FileTypes is specified, the parameters Archive, BaseProject and UpgradeWriteProtectedProjects are ignored.