S2 - Viewer Only, Single Machine (Windows)

Install CAST Imaging in Viewer Only mode on a single Windows machine - read-only access, no local analysis

Overview

This guide covers installing CAST Imaging in Viewer Only mode on a single Microsoft Windows machine. This is a read-only deployment: users can browse previously analyzed application data but no analysis is performed locally.

What is installed:

Component Description
imaging-services Front-end services: gateway, console, auth, SSO, control panel
imaging-viewer Results viewer: ETL, APIs, AI service, Neo4j, server

When to use: Environments where analysis is performed on a separate CAST Imaging installation and users only need to view results through the Viewer interface.


Requirements

Read and understand the following before starting:


Before you start

  1. Install the database: Install PostgreSQL on this machine or another machine accessible on the network before starting. See Database server install for instructions.

  2. Extend Local Server: If your environment does not permit access to CAST Extendexternal link over the internet, you will need to install the Extend Local Server separately before completing this guide.


Step 1 - Download the installation media

Download the latest release of com.castsoftware.imaging.consoleexternal link from CAST Extend and unzip it anywhere on your local disk.

The following files and folders will be created:

  • tools/ (folder)
  • cast-imaging-install.bat
  • cast-imaging-remove.bat
  • cast-imaging-update.bat
  • components-installers.zip
  • config-all.conf
  • config-imaging-services.conf
  • config-analysis-node.conf
  • config-imaging-viewer.conf
  • config-dashboards.conf

Step 2 - Configure the installation

Open config-imaging-services.conf and config-imaging-viewer.conf (at the root of the installation media) in a text editor and update the installation variables.

LICENSE_KEY and EXTEND_API_KEY (optional)

To avoid being prompted for the global license key and CAST Extend API key on first login, you can pre-configure these variables in config-imaging-services.conf:

LICENSE_KEY=<your-license-key>
EXTEND_API_KEY=<your-extend-api-key>

See Installation variables for details.

CAST_INSTALLATION_CONF (optional)

By default, the installer stores installation properties in:

%PROGRAMDATA%\CAST\CAST\.install

To use a different location, set the CAST_INSTALLATION_CONF Windows system environment variable to your preferred folder path before running the installer.

Domain mapping (optional)

Available in ≥ 3.5.0-funcrel

To isolate imaging-viewer results per domain in dedicated Neo4j databases, you can enable the domain/tenant mapping feature. CAST strongly recommends enabling this now, before any applications are onboarded - enabling it later in an existing installation causes irreversible loss of customizations (tags, saved views, post-it notes, custom objects).

Before running the installer (on the imaging-services machine for multi-machine deployments), create a Windows system environment variable:

  • Variable name: IMAGING_DOMAIN_SYNCHRO_ENABLED
  • Variable value: true

See Domain/tenant mapping feature for full details and prerequisites.

Firewall

For a single-machine deployment, open only port 8090 (TCP) inbound if you or your users need to access CAST Imaging from another machine on the network.


Step 3 - Run the installation

Open a CMD window with elevated permissions (right-click, Run as administrator) and run the following commands (one after the other) from the root of the unzipped files:

cast-imaging-install.bat package=imaging-services
cast-imaging-install.bat package=imaging-viewer

Step 4 - Verify the installation

Check that the following Windows Services are running (11 total):

Component Service name Port(s)
imaging-services CAST Imaging Authentication 8092
imaging-services CAST Imaging Console Service 8091
imaging-services CAST Imaging Control Panel 2381, 8098
imaging-services CAST Imaging Gateway Service 8090
imaging-services CAST Imaging SSO Service 8096, 9002
imaging-viewer CAST Imaging Viewer AI Manager 8094
imaging-viewer CAST Imaging Viewer APIs 8070
imaging-viewer CAST Imaging Viewer Frontend 8093
imaging-viewer CAST Imaging Viewer ETL 9011
imaging-viewer CAST Imaging Viewer Backend 9010
imaging-viewer CAST Imaging Neo4j Graph Database 6372, 7483, 7484, 7697

Step 5 - Initial startup configuration

Browse to:

http://<IMAGING_SERVICES_HOSTNAME>:8090

Log in using the default credentials: admin / admin

Configure the Licensing strategy. Choose one of:

  • Named Application - each onboarded application requires its own dedicated license key
  • Contributing Developers - a global license key based on the number of contributing developers

License key

Configure CAST Extend settings and Proxy settings:

CAST Extend settings

Verify that all components are available:

http://<IMAGING_SERVICES_HOSTNAME>:8090/admin/services

Services


Step 6 - Configure authentication

Out-of-the-box, CAST Imaging uses Local Authentication (admin/admin) managed by Keycloak.

CAST recommends switching to your enterprise authentication system (LDAP or SAML) before onboarding applications. Access the Keycloak UI using the kcadmin account (or the value of KEYCLOAK_LOGIN_ADMIN_USER if customized during installation). See Authentication for full instructions.


Next steps