6.3. Failed to re-install OPSWAT Central Management

Term

Detail

Problem

Failed to re-install OPSWAT Central Management

Cause

The installer could not copy some files to the system because they might still exist on the system from a previous version.
The installer detected that the required ports for OPSWAT Central Management are unavailable.

Troubleshooting

The installer stopped prematurely and showed the error message " Installation ended prematurely because of an error."

Solution

Delete all leftover files and folders in the installation folder of OPSWAT Central Management. It may require a Windows restart in some cases.

Cause 1: The installer could not copy some files to the system because they might still exist on the system from a previous version.
The installation wizard failed with the error
" OPSWAT Central Management <version> Setup Wizard ended prematurely" as in the below screenshot.

images/download/attachments/1967369/image2019-5-16_15-16-3.png

A possible cause is that a previous uninstallation process failed to remove all files from the installation folder because some of these files were locked by still-running processes.
The solution is to manually delete the installation folder (C:\Program Files\OPSWAT\Central by default) before reinstallation.

If Windows Explorer returns a "Folder in Use" or "Files in Use" error, this means that OPSWAT Central Management's services are still running in the background and locking these files. Please restart Windows and try again.

images/download/attachments/1967369/image2019-5-16_14-33-1.png

Cause 2: The installer detected that the required ports for OPSWAT Central Management are unavailable.

If prior to the error " OPSWAT Central Management <version> Setup Wizard ended prematurely" as shown above, the installer also display another error as shown below.

images/download/attachments/1967369/d89de2eb-d189-4108-a9c4-0fc829bd7da1.png

In this case, these ports are occupied by some background services. A possible cause is that these are OPSWAT Central Management's services which were not stopped correctly by the installer.
Please restart Windows and try again. If these ports are still unavailable, please check if there are other services unrelated to OPSWAT Central Management occupying these port.