Updating packages of the base installation via OpenTAP Runner

Hi all,

we are using OpenTAP 9.35.0 with Runner 2.5.2 (Windows, x64).
Our own application talks to the Runner over NATS and shows the installed packages of the base installation. We read them from the package.xml files in the Packages folder.
We would like to update or install packages from our UI, for example our own plugin packages like MES 1.0.0-alpha → 1.1.0, without needing a separate CLI call on the station.

What we know so far:
• The Runner supports image-based sessions (ResolveImage / StartImageSession). As far as we understand, these images are installed into separate directories, and the base installation stays unchanged. After a Runner restart, the base installation is used again.
• tap package install works on the base installation, but the Runner process locks the loaded DLLs. Also, Program Files requires admin rights.

Questions:

  1. Is there a Runner API or command to install or update packages in the Runner’s base installation, similar to tap package install?
  2. If not, what is the recommended approach?
    For example:
    • stopping the Runner service, running tap package install, then restarting the service, or
    • making an image the persistent or default image of the Runner?