Troubleshooting YSoft SafeQ Workflow Processing System installation

Error During Installation: "Installation of Visual C++ Redistributable failed"

YSoft SafeQ Workflow Processing System requires the "Visual C++ Redistributable for Visual Studio 2015" package to be installed in order for "Highlighter Extraction" and "Highlighter Redaction" processing steps to function correctly.

In case you see the following error during installation of the YSoft SafeQ Workflow Processing System service: "Installation of Visual C++ Redistributable failed. Please consult YSoft SafeQ Workflow Processing System installer documentation in the YSoft SafeQ 6 Administrative Guide":

  1. Ensure the KB3118401 Windows Update (https://support.microsoft.com/en-us/kb/3118401 ) is installed on your operating system

  2. Re-install YSoft SafeQ Workflow Processing System using the YSoft SafeQ Workflow Processing System installer

Alternative fix if the above fails:

  1. Download and install the latest version of Visual C++ 2015 Redistributable Update 3 (https://www.microsoft.com/en-us/download/details.aspx?id=53840 , known to work with version 14.0.24215.1).

  2. Restart the server.

  3. Re-install YSoft SafeQ Workflow Processing System using the YSoft SafeQ Workflow Processing System installer.

Update fails on ABBYY OCR un-installation

Update of Y Soft SafeQ using a server or standalone WPS installed may involve ABBYY FineReader engine update. In such a case at first ABBYY is uninstalled and the new version gets installed. Should the ABBYY removal fail, WPS installation will produce and error and will not continue.

Log example:

SafeQ6-install.log
2025-07-08 14:13:50.590 |  INFO: Updating YSoft SafeQ Workflow Processing System.
2025-07-08 14:13:57.966 | DEBUG: Command resulted with exit code 2. Message: 
2025-07-08 14:13:58.091 | ERROR: YSoft SafeQ Workflow Processing System installation failed.
2025-07-08 14:13:58.106 | ERROR: See C:\SafeQ6\WPS\wps-install.log for more details.

wps-install.log
2025-07-08 14:13:55.559 | DEBUG: Version of OCR already installed is 4 and OCR version in installer is 5
2025-07-08 14:13:55.564 |  INFO: Un-installing OCR
2025-07-08 14:13:55.564 | DEBUG: Command: powershell -executionpolicy unrestricted -inputformat none -command "& { . 'C:\Users\JohnDo~1\AppData\Local\Temp\2\nsm7085.tmp\InstallCommander.ps1'; Get-NextToInstDir 'C:\SafeQ6\WPS' 'OCR-Engine' }"
2025-07-08 14:13:56.372 | DEBUG: Command: "C:\SafeQ6\OCR-Engine\Installer\installRnt64.exe" /q /v /norestart INSTALLDIR="C:\SafeQ6\OCR-Engine" DeinstallRuntime=Yes
2025-07-08 14:13:57.950 | DEBUG: Un-installation finished with exit code -1. Message: 
2025-07-08 14:13:57.950 | ERROR: Operation failed!, Un-installation of OCR failed.

To resolve the issue:

  1. Make a backup of <SafeQ6>\WPS\WpsService.exe.config.

  2. Uninstall WPS using <SafeQ6>\WPS\uninstall.exe.
    ℹ️ if uninstall fails with an error, ignore it and continue with the rest of the steps

  3. Delete services via CMD launched as an administrator, commands need to be executed one by one:
    sc delete ABBYY.Licensing.FineReaderEngine.Windows.11.0
    sc delete ABBYY.Licensing.FineReaderEngine.Windows.12.0
    sc delete YSoftSQ-WPS
    ℹ️ if you see any other ABBYY service in "services.msc", delete it also

  4. Delete following registry keys if they exist (start > run > regedit):
    HKEY_CURRENT_USER\SOFTWARE\ABBYY
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ABBYY.Licensing.FineReaderEngine.Windows.11.0
    HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\ABBYY.Licensing.FineReaderEngine.Windows.12.0
    ℹ️ if you see any other registry in services starting with ABBYY, delete it also

  5. Delete <SafeQ6>\WPS directory.

  6. Restart the server.

  7. Install WPS using the WPS-installer.exe file from the installation package of the version you wish to update to.

  8. If you made custom changes to WpsService.exe.config (such as encryption in <appSettings> section), apply those changes again.

    1. avoid replacing whole file from backup, WPS service would fail to start

    2. restart of YSoftSQ-WPS is required after .config edit

  9. Now the WPS is fully functional.
    ℹ️ WPS is now shown as standalone product in "Add or remove programs", it will become part of YSoft SafeQ item when bundled installer is used next

  10. If the bundled installer was used initially, run it again to update the entire YSoft SafeQ system.

Solution leads to removal of WPS, if you have any specific configuration (such as “YSoft SafeQ Workflow Processing System” service running under a custom account or when using encryption between WPS and TS), it is necessary to apply that configuration again.