Skip to main content

deploying the agent with an oracle simphony cal package

Oracle Simphony's Client Application Loader (CAL) distributes software from the Simphony enterprise to every workstation and service host automatically. By packaging the PosKit agent as a custom CAL package, you can deploy it to an entire Simphony estate from EMC — every existing workstation installs it on its next CAL check, and any workstation added later receives it automatically.

How it works​

  1. You author a package folder containing the agent binary, an install script, and a Setup.dat manifest.
  2. You upload it in EMC (Enterprise → Setup → CAL Packages → Add Custom CAL Package), where it appears under the Custom subgroup.
  3. You add a deployment schedule targeting the Enterprise, selected properties, or specific service hosts.
  4. The CAL client on each workstation compares the package's internal name and version from Setup.dat against what it has already installed, downloads the package if it's new, and executes its installation commands. The CAL client runs with system privileges, so the agent installer needs no additional elevation.

Prerequisites​

  • EMC access at the Enterprise level with permission to use the CAL Packages module
  • A PosKit registration token, ideally scoped to the site or customer (from the Install Agent dialog in the portal)
  • The Windows agent binary (poskit-agent.exe) — download it via the portal's Install Agent dialog
  • Workstations running Windows (CAL platform type Win32 Client) with outbound HTTPS (443) access to poskit.app and *.poskit.app

1. Build the package folder​

On the machine where you run EMC, create the folder (the folder name must match the NAME in Setup.dat):

MICROS\Simphony2\EgatewayService\CAL\Win32\Packages\PosKitAgent

Place three files in it:

PosKitAgent\
├── Setup.dat
├── install.cmd
└── poskit-agent.exe

install.cmd​

@echo off
rem Idempotent: skip if the PosKit agent service is already installed.
sc query PosKitAgent >nul 2>&1 && exit /b 0

"%~dp0poskit-agent.exe" install --token "YOUR_REGISTRATION_TOKEN" --registration-url "YOUR_SERVER_URL"

Replace the token and server URL with the values from the portal's Install Agent dialog. The sc query guard makes the script safe to re-run when the package is redeployed or its version is bumped.

Setup.dat​

Setup.dat is the package manifest the CAL client reads. Oracle documents its structure as a NAME (the internal package name), a VERSION in four-number dotted notation, and a series of installation commands:

NAME,PosKitAgent
VERSION,1.0.0.0
FILECOPY,install.cmd
FILECOPY,poskit-agent.exe
DOSCOMMAND,BLOCKING,install.cmd
Verify the command syntax against your Simphony version

Oracle does not publish a public reference for the Setup.dat command set, and it can vary between Simphony releases. Before deploying, open a working package that ships with your Simphony server and copy its command style: in EMC, highlight any existing package, open the Package Contents tab, select Setup.dat under Files, and click View Selected File. The packages on disk under EGatewayService\CAL\Win32\Packages on the Simphony application server are also a reliable reference. Always test on a single lab or pilot workstation before scheduling an enterprise-wide deployment — Oracle recommends this for any CAL change.

The CAL client uses NAME + VERSION to decide whether a workstation needs the package. Once a workstation has installed version 1.0.0.0, it will not act again until the version changes — bump VERSION and reload the package if you need CAL to re-run it.

2. Upload the package in EMC​

  1. In EMC, select the Enterprise level, click Setup, and then click CAL Packages.
  2. Select Add Custom CAL Package from the CAL packages tree commands.
  3. In the CAL Package Location section, navigate to and select the folder created in step 1.
  4. The Choose CAL Package to upload and Name fields auto-populate from Setup.dat.
  5. Click Upload. The package appears in the Custom subgroup.

3. Configure the package​

Highlight the uploaded package and review the CAL Package Configuration tab:

  • Deployment Order: enter 1000 or higher. Simphony's internal packages use low order numbers; Oracle requires custom (non-hotfix) packages to start at 1000. The agent has no dependency on other CAL packages, so its position beyond that doesn't matter.
  • Platform Type: select 50 - Win32 Client. Do not use 0 - All Clients — that would also target Android, Linux, and KDS controller devices, which this package does not support.
  • Limit To Services: leave all services unselected so the package deploys to every Windows service host covered by the schedule.

4. Add a deployment schedule​

  1. With the package highlighted, click the Deployment Schedules tab.
  2. Click Add Deployment.
  3. In the CAL Package field, select the version you uploaded.
  4. From the Deployment Type drop-down, select:
    • 1 - Property/Enterprise to deploy to all service hosts of one or more properties (or the whole Enterprise), or
    • 2 - Specific Service Host to pilot on selected workstations first.
  5. In the Action To Take field, select 0 - Install.
  6. (Optional) Set Effective From / Effective To to control when the deployment window opens and closes. Leave Effective To empty to keep the deployment perpetual, so future workstations pick the agent up automatically.
  7. Click Save. Deployment begins immediately for in-scope workstations.
Piloting and exclusions

Simphony honors the most granular schedule. You can deploy to a property with 0 - Install and exclude an individual workstation by giving it its own schedule with 1 - Skip. For the initial rollout, start with a 2 - Specific Service Host schedule on one workstation, verify it, then add the property- or enterprise-level schedule.

5. Verify​

  • In EMC, use the CAL package download status view to confirm workstations have fetched the package.
  • On a workstation, confirm the service is running: Get-Service PosKitAgent.
  • The workstations appear as devices in the PosKit portal within a minute of registering.
  • If your organisation has the Simphony CCAPI integration connected, you can also monitor CAL packages, schedules, and per-workstation install status from Simphony → CAL Management in the PosKit portal.

Ongoing updates​

CAL is only needed for the initial rollout. Once registered, agent versions are managed from the PosKit portal — see agent updates — and you do not need to rebuild the CAL package for agent updates. Keep the deployment schedule perpetual so newly added workstations install the agent, and revoke or rotate the embedded registration token if it should no longer admit new devices.

Troubleshooting​

  • Package doesn't deploy again after a change — the CAL client keys on NAME + VERSION. Bump VERSION in Setup.dat, then reload the package in EMC (Package Contents → Reload Package From Disk).
  • EMC rejects the schedule as a duplicate — EMC blocks two schedules for packages sharing the same internal name. Delete the old deployment before adding the new one.
  • Deployment Order is grayed out — in Simphony Standard Cloud Service, the deployment order is not configurable at the organization level (it is in Premium and self-hosted environments). The default of 1000 for custom packages is fine for the agent.
  • Agent installed but device not in portal — check the workstation's outbound HTTPS access and the agent log at C:\ProgramData\PosKit\Agent\logs, and confirm the token is still valid.

References​