Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ Work Tasks

Remotely Export, Import, Install, or Uninstall Packages using Console Application

Remotely Export, Import, Install, or Uninstall Packages using Console Application

  • Last UpdatedNov 25, 2024
  • 2 minute read

A user with Administrator privileges can export, import, install, or uninstall packages using the AVEVAWorkTasksRemotePackageManager Console Application.

  1. Open the Command Prompt in the Administrative mode.

  2. Enter the path for the folder, where the Remote Package Manager files are available, and then press Enter.

  3. On the Command Prompt, type AVEVAWorkTasksRemotePackageManager.exe.

  4. Pass one of the values for the following command line arguments:

    • To export a package from the repository

      AVEVAWorkTasksRemotePackageManager.exe /export

    • To import a package into the repository

      AVEVAWorkTasksRemotePackageManager.exe /import

    • To install a package from the repository

      AVEVAWorkTasksRemotePackageManager.exe /install

    • To uninstall a package from the repository

      AVEVAWorkTasksRemotePackageManager.exe /uninstall

  5. Press Enter.

    The package is exported, imported, installed, or uninstalled remotely depending on the value passed for the command line argument.

    Note:
    - The values for all the related parameters such as package name, repository name, and so on will be considered from the AVEVAWorkTasksRemotePackageManagerConfig.xml file.
    - Ensure that the folder to which the package must be exported is a shared folder.

Restricting Export, Import, Install, or Uninstall operations on remote machines (Optional)

You can update the IP addresses of the remote machines. Only the machines whose IP addresses are included in the tag (explained below), will be allowed to execute the AVEVAWorkTasksRemotePackageManager.exe. All the other remote machines will be restricted from executing this exe.

To update remote machine IP addresses in the Farm DB

  1. Access the Farm DB.

  2. Execute the following query

    Select Properties from SKService where Name = 'SkeltaGlobalSettings'

  3. Copy the value in the Properties to a Notepad.

  4. Add the <property key="validremotepackageclientiplist"><![CDATA[xxxx.xxxx.xxxx.xxxx]]></property> tag as shown below.

    Update SKService set Properties = '<properties><property>………..</property><property key="validremotepackageclientiplist"><![CDATA[xxxx.xxxx.xxxx.xxxx]]></property></properties>' where Name = 'SkeltaGlobalSettings'

    Note:
    - Ensure that you add this tag before the closing </properties> tag.

    - The AVEVAWorkTasksRemotePackageManager will verify whether the <property key="validremotepackageclientiplist"><![CDATA[xxxx.xxxx.xxxx.xxxx]]></property> tag is available in the Properties of the AVEVAWorkTasksGlobalSettings record in the SKService table. If the tag is available, then only the remote machine IP addresses present in the tag are allowed to execute the AVEVAWorkTasksRemotePackageManager.exe.

    - You can add multiple IPV4 and/or IPV6 IP addresses by using ';' as a separator. For example: [fe80::8d01:b4f8:489:f4c8%12;fe80::8d01:b4f8:489:f4c8%19;10.13.88.100;10.13.88.101]

    - Ensure that you specify only machine IP addresses.

  5. Add the IP addresses of the remote machines.

  6. Execute the query in the Farm DB.

  7. Restart the Client Service.

    TitleResults for “How to create a CRG?”Also Available in