Skip to main content

Install on Windows

To install on Windows, please follow these steps:

  1. Prepare the Database
  2. Install the LogicalDOC application

Attention

This guide assumes you are performing the installation by using the Administrator user

Notice for use of OpenJDK

If you opt for using an open source OpenJDK instead of the official Oracle JDK, please download the installer here: https://adoptium.net/temurin/
Choose the latest LTS release and download the .msi file.

By default, Windows will not allow you to install a .msi file, so you should temporarily disable the SmartScreen.
To do so, open the Windows Defender Security Center go to Windows Security > Apps & browser control

LogicalDOC Data Source

Here, turn off all the blocks (you could activate them again after the installation), and then install the .msi.

Installation of the Microsoft Visual C++ Redistributable may be required

Some LogicalDOC features rely on native libraries (e.g. ONNX Runtime) that require an up-to-date Microsoft Visual C++ Redistributable. Windows Server does not include it by default, and an outdated or missing runtime can prevent LogicalDOC from starting or cause it to crash unexpectedly.

Before installing LogicalDOC, download and install the latest x64 Redistributable from Microsoft:
https://aka.ms/vs/17/release/vc_redist.x64.exe

If the Redistributable is already installed, run the installer anyway to update it to the latest version.

Notice for antivirus software

At startup, LogicalDOC extracts some native libraries (.dll) into the temporary folder of its application server (<LogicalDOC>\tomcat\temp).

Some antivirus products (e.g. BitDefender, Sophos) may quarantine these files or terminate the LogicalDOC process. 
If this happens, add the LogicalDOC installation folder, or at least its tomcat\temp folder, to the antivirus exclusions.