跳转到主要内容
本主题也有 Linux 版本。
ABBYY FineReader Engine 库的运行时安装仅可在自动模式下通过命令行以静默模式执行。请使用下文所述的命令行选项,从发行包中运行 installRnt64.exe 文件。
安装该库时,会在 HKEY_LOCAL_MACHINE 和 HKEY_LOCAL_USER 子树中创建注册表项。

INSTALLDIR=“<destination path>”


The path to the folder where the ABBYY FineReader Engine library will be installed.

This parameter is required, both for installation and deinstallation.

DeinstallRuntime=Yes | No

No

Specifies if the existing runtime installation of the library must be uninstalled. Set the path to the installation folder in the INSTALLDIR parameter.

MODULES=<list of library modules> | None | All

All

The list of librarymodulesthat you want to install. See the list of available modules below. The modules must be separated with commas (,). For example, MODULES=ICR,PDF,BasicLang. If you do not want to install any of these modules, set this option to None. If you want to install all the modules, set this option to All.

如果需要打开 Office 格式文件,请将OfficeConverters模块与PDF模块一并安装。

WIBUDR=Yes | No

No

Specifies whether hardware key drivers (CodeMeter) must be installed.

LICENSESRV=Yes | No

Yes

Specifies whetherLicensing Servicemust be installed. If WIBUDR=Yes, the Licensing Service is installed automatically and cannot be excluded from the installation. The Licensing Service is installed to thefolder.

Licensing Service is required for working with ABBYY FineReader Engine library, and for correct installation you must do one of the following:
  • If you have a Standalone or an Online license, you should install the Licensing Service on the same computer on which ABBYY FineReader Engine is installed. Set this parameter to Yes.
  • In the case of Network license, you should install the Licensing Service beforehand on a network server — a computer which will manage and distribute licenses among workstations in a network. Set this parameter to No and specify the address of the server in the SERVERNAME parameter during installation on your workstation. If you set this parameter to No and omit the server address, an error will be returned and installation will not be completed.

SERVERNAME=<the DNS name or IP address>


The DNS name or IP address of the computer where the Licensing Service is installed.

When specifying SERVERNAME, LICENSESRV is automatically set to No.

LICENSEDATADIR=“<destination path>”


The path to the folder where auxiliary information about licensing will be stored. By default, it is the %ProgramData%\ABBYY\SDK\12\Licenses. You may change the folder with this option when performing Runtime installation or after, through thefunction.

RegisterCOM=Yes | No | Force

Yes

Specifies whether the COM wrappers should be registered. The registration is performed by calling the DllRegisterServer function from FREngine.dll. If the library is already registered with the different path:

  • if this option is set to Yes, an error is returned;
  • if this option is set to Force, the library is re-registered to the new path and the installation is continued.

If the MODULES option contains VC or is set to All, the library must be registered. Setting this option to No will cause an error and the installation will not be completed.

/quiet


Silent mode without a progress bar. This is mandatory option because the runtime installation can be performed only in silent mode. Use the /passive option if you want the progress bar to be displayed during the installation. No other dialog boxes will be displayed.

If these options are not specified, the /passive option is used by default.

/extract


Specifies whether the ABBYY FineReader Engine files should be extracted from the distribution package to a certain folder without installation. No entries will be made in the Windows registry, services, or package cache. However, the procedure requires administrator rights. Use this option to unpack the ABBYY FineReader Engine files and create your custom package.

库模块

每个库模块决定了运行时许可证中必须可用的许可证模块,以及将被安装的资源文件 (请参阅 ABBYY FineReader Engine 分发工具包) 。下表列出了每个库模块对应的许可证模块和资源文件:
库模块运行时许可证中必须可用的许可证模块将被安装的资源文件
ICRIndexICROMR用于识别复选标记和手写印刷体文本的文件。
PDF打开 PDFABBYY FineReader Engine 分发工具包:PDF 章节中列为打开 PDF 所必需的文件。
VCScanningUser Patterns Training用于扫描和用户模式训练的文件。
ClassificationDocument Classification用于文档分类的文件。
BCR名片识别用于名片识别的文件。
BasicLangNatural用于基本预定义语言的文件 (特殊组中定义的语言除外) 。
DataCaptureLangNatural for Data Capture用于特殊语言单元预定义语言的文件。
OfficeConvertersOffice Formats Opening打开 PDF用于打开数字文档的文件。
CompareDocumentsCompare Documents用于文档比较的文件。
ArabicArabic用于识别阿拉伯语文本的文件。
BurmeseBurmese用于识别缅甸语文本的文件。
ChineseChinese用于识别中文文本的文件。
FarsiFarsi用于识别波斯语文本的文件。
JapaneseJapanese用于识别日语文本的文件。
KoreanKorean用于识别韩语文本的文件。
FRXIXFineReader XIX用于识别古欧洲语言文本的文件。
HebrewHebrew用于识别希伯来语和意第绪语文本的文件。
ThaiThai用于识别泰语文本的文件。
VietnameseVietnamese用于识别越南语文本的文件。
以静默模式安装后,ABBYY FineReader Engine 不会出现在 Windows 控制面板的”程序和功能”部分 (即”卸载或更改程序”菜单) 中。

示例

installRnt64.exe /quiet MODULES=PDF,ICR WIBUDR=Yes INSTALLDIR="C:\MyFolder"
此命令行将以静默模式 (不显示进度条) 将 PDF 和 ICR 库模块安装到 C:\MyFolder。同时将安装硬件加密狗驱动程序。
installRnt64.exe /passive SERVERNAME=MyServer LICENSESRV=No INSTALLDIR="C:\MyFolder"
此命令行将以静默模式将所有库模块安装到 C:\MyFolder,并显示安装进度条。许可服务将不会被安装,ABBYY FineReader Engine 将被配置为使用 MyServer 计算机上服务器提供的网络许可证。
Protection.Developer.dll 以及包含帮助文档、示例和代码示例库的文件夹不会在运行时安装过程中被安装 (详情请参阅 ABBYY FineReader Engine 分发工具包) 。

升级 ABBYY FineReader Engine 库

本主题适用于 Windows 版的 FRE 。
从 ABBYY FineReader Engine 第 5 版开始,您可以无需先卸载产品,即可升级到较新版本。只需按相同方式运行安装程序即可。 以下条件适用:
  • 对于开发人员安装,已安装的版本不早于第 5 版。
  • 对于运行时安装,已安装的版本不早于第 6 版。
  • 您将要安装的版本的构建号在前三个数字上比已安装版本更新:
    • 12.5.12.0 -> 12.5.15.0 — OK
    • 12.5.12.0 -> 12.6.1.0 — OK
    • 12.5.12.0 -> 13.1.1.0 — OK
    • 12.5.12.0 -> 12.5.12.1 — NOT OK,仅第四个数字更新
    • 12.5.12.0 -> 12.5.11.0 — NOT OK,已安装版本较新
如果您从早于第 5 版 (运行时为第 6 版) 的版本升级,或者构建号条件未满足,则必须像以往一样先卸载 ABBYY FineReader Engine,然后再安装新版本。

另请参阅

分发 ABBYY FineReader Engine 分发工具包 模块