When you install FineReader Engine on a machine where the previous build has been installed, you might face the exception "The path is not of a legal form."
This issue may occur because the old build was not completely removed before installation.
There are a few steps to fix this:
- Make a backup copy of the Windows Registry following the official instructions from the How to back up and restore the registry in Windows article.
- Check and remove all unnecessary entities.
Unregister FREngine.dll manually using the following command:
And register it once again with:
regsvr32.exe /u "<path to FREngine.dll>"
regsvr32 /s /n /i:"<path to the Inc folder>" "<path to FREngine.dll>"