Uninstall CAST Imaging on Microsoft Windows
Overview
This guide explains how to remove a CAST Imaging installation that was deployed on Microsoft Windows using the dedicated uninstaller script provided with the installation media.
Uninstall process
The installation media contains a dedicated uninstaller script called cast-imaging-remove.bat. To run the uninstaller, open a CMD window with elevated permissions (right-click, Run as administrator) and execute the relevant command from the root of the unzipped files to remove the required component, depending on what is installed on the current machine:
cast-imaging-remove.bat package=all
cast-imaging-remove.bat package=imaging-services
cast-imaging-remove.bat package=imaging-viewer
cast-imaging-remove.bat package=analysis-node
cast-imaging-remove.bat package=dashboards
The relevant *.conf files should contain the installation variables that match the components you have installed.
To avoid a prompt during the uninstall process, ensure that DELETE_ADDITIONAL_DATA_FOLDERS is explicitly set to either true to force the removal of existing analysis data storage folders defined by the SHARED_FOLDER, DELIVERY_FOLDER and DEPLOY_FOLDER variables, or false to retain these folders. If you intend to perform a clean install you should set this option to true.
Do not use the Microsoft Windows Add or remove programs feature to uninstall CAST Imaging components, always use the cast-imaging-remove.bat file.
The installer will remove all components and related Microsoft Windows Services, including the following database items (the uninstaller will use the *.conf file to obtain details of the target database instance):
control_panelschema (≥ 3.3.x-funcrel)admin_centerschema (≤ 3.2.x-funcrel)analysis_nodeschema (≤ 3.2.x-funcrel)keycloakschema (≥ 3.5.4-funcrel whereKEYCLOAK_DBis set topostgres(default) - whereKEYCLOAK_DBis set to any database other thanpostgres, the entire database will be removed)keycloak_v3database (≤ 3.5.3-funcrel)
What is not removed?
- Any schemas associated with applications stored on your database instance(s), e.g.
<app_name>_local,<app_name>_central,<app_name>_mngt. general_measureschema (or equivalent name).- CAST Imaging Core, wherever this component has been installed. Use the Add or remove programs feature to uninstall.
- CAST Storage Service, wherever this component has been installed. Use the Add or remove programs feature to uninstall.