> ## Documentation Index
> Fetch the complete documentation index at: https://docs.abbyy.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Windows で自動モードでインストールする

> モジュール、ライセンスサーバー、COM 登録、Customer Project ID 用のコマンドライン オプションを指定して、サイレント モードで installRnt64.exe を実行し、Windows に ABBYY FineReader Engine を自動モードでインストールします。

<Note>
  このトピックの [Linux](/ja/fine-reader/engine/distribution/distribution-linux/installing-the-library-linux/installing-the-library-in-automatic-mode) 版もあります。
</Note>

自動モードでの ABBYY FineReader Engine ライブラリのランタイム インストールは、サイレント モードのコマンドラインからのみ実行できます。以下で説明するコマンドライン オプションを指定して、配布パッケージに含まれる installRnt64.exe ファイルを実行してください。

<Warning>
  ライブラリのインストール時に、レジストリ キーが HKEY\_LOCAL\_MACHINE および HKEY\_LOCAL\_USER のサブツリーに作成されます。
</Warning>

<Note>
  v12.8.0 以降、Office ドキュメントを取り込むには Microsoft Office または LibreOffice をインストールする必要があります。
</Note>

<table>
  <thead>
    <tr>
      <th>
        <p>
          <strong>Option</strong>
        </p>
      </th>

      <th>
        <p>
          <strong>Default Value</strong>
        </p>
      </th>

      <th>
        <p>
          <strong>Description</strong>
        </p>
      </th>
    </tr>
  </thead>

  <tbody>
    <tr>
      <td>
        <p>
          INSTALLDIR="\<<em>destination</em> <em>path</em>>"
        </p>
      </td>

      <td>
        <br />
      </td>

      <td>
        <p>
          The path to the folder where the ABBYY FineReader Engine library will
          be installed.
        </p>

        <Warning>
          This parameter is required, both for installation and deinstallation.
        </Warning>
      </td>
    </tr>

    <tr>
      <td>
        <p>DeinstallRuntime=Yes | No</p>
      </td>

      <td>
        <p>No</p>
      </td>

      <td>
        <p>
          Specifies if the existing runtime installation of the library must be
          uninstalled. Set the path to the installation folder in the INSTALLDIR
          parameter.
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          MODULES=\<<em>list</em> <em>of</em> <em>library modules</em>> |
          None | All
        </p>
      </td>

      <td>
        <p>All</p>
      </td>

      <td>
        <p>
          The list of library{" "}

          <a href="/ja/fine-reader/engine/distribution/distribution-windows/installing-the-library-windows/installing-the-library-in-automatic-mode#modules">
            modules
          </a>

          {" "}

          that 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.
        </p>

        <Warning>
          If you intend to open the office formats, install the{" "}

          <a href="/ja/fine-reader/engine/distribution/distribution-windows/installing-the-library-windows/installing-the-library-in-automatic-mode#officeconverters">
            OfficeConverters
          </a>

          {" "}

          module together with the{" "}

          <a href="/ja/fine-reader/engine/distribution/distribution-windows/installing-the-library-windows/installing-the-library-in-automatic-mode#pdf">
            PDF
          </a>

          {" "}

          module.
        </Warning>
      </td>
    </tr>

    <tr>
      <td>
        <p>WIBUDR=Yes | No</p>
      </td>

      <td>
        <p>No</p>
      </td>

      <td>
        <p>
          Specifies whether hardware key drivers (CodeMeter) must be installed.
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>LICENSESRV=Yes | No</p>
      </td>

      <td>
        <p>Yes</p>
      </td>

      <td>
        <p>
          <a href="/ja/fine-reader/engine/distribution/distribution-windows/activating-the-library-windows/installing-the-licensing-service-on-windows">
            Licensing Service
          </a>

          {" "}

          をインストールするかどうかを指定します。WIBUDR=Yes の場合、Licensing Service は自動的にインストールされ、インストールから除外できません。Licensing Service は{" "}

          <strong>
            %ProgramFiles(x86)%\Common Files\ABBYY\SDK\12\Licensing{" "}
          </strong>

          フォルダーにインストールされます。
        </p>

        <Warning>
          Licensing Service is required for working with ABBYY FineReader Engine
          library, and for correct installation you must do one of the
          following:
        </Warning>

        <ul>
          <li>
            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.
          </li>

          <li>
            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.
          </li>
        </ul>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          SERVERNAME=\<<em>the</em> <em>DNS</em> <em>name</em> <em>or</em>{" "}
          <em>IP</em> <em>address</em>>
        </p>
      </td>

      <td>
        <br />
      </td>

      <td>
        <p>
          The DNS name or IP address of the computer where the Licensing Service
          is installed.
        </p>

        <Note>
          When specifying SERVERNAME, LICENSESRV is automatically set to No.
        </Note>
      </td>
    </tr>

    <tr>
      <td>
        <p>
          LICENSEDATADIR="\<<em>destination</em> <em>path</em>>"
        </p>
      </td>

      <td>
        <br />
      </td>

      <td>
        <p>
          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 the{" "}

          <strong>
            <a href="/ja/fine-reader/engine/api-reference/functions/initializeengine-function">
              InitializeEngine
            </a>

            {" "}
          </strong>

          function.
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>RegisterCOM=Yes | No | Force</p>
      </td>

      <td>
        <p>Yes</p>
      </td>

      <td>
        <p>
          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:
        </p>

        <ul>
          <li>if this option is set to Yes, an error is returned;</li>

          <li>
            if this option is set to Force, the library is re-registered to the
            new path and the installation is continued.
          </li>
        </ul>

        <p>
          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.
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>/quiet</p>
      </td>

      <td>
        <br />
      </td>

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

        <p>
          If these options are not specified, the /passive option is used by
          default.
        </p>
      </td>
    </tr>

    <tr>
      <td>
        <p>/extract</p>
      </td>

      <td>
        <br />
      </td>

      <td>
        <p>
          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.
        </p>
      </td>
    </tr>
  </tbody>
</table>

<div id="library-modules">
  ## ライブラリモジュール
</div>

各ライブラリモジュールでは、ランタイム License で使用可能でなければならない[ライセンスモジュール](/ja/fine-reader/engine/licensing/modules)と、インストールされるリソースファイル ([ABBYY FineReader Engine Distribution Kit](/ja/fine-reader/engine/distribution/distribution-windows/distribution-kit)を参照) を決定します。各ライブラリモジュールに対応するライセンスモジュールとリソースファイルを、次の表に示します。

| ライブラリモジュール       | ランタイム License で使用可能でなければならないライセンスモジュール                                                                                                                            | インストールされるリソースファイル                                                                                                                                                              |
| ---------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| ICR              | [Index](/ja/fine-reader/engine/licensing/modules#index), [ICR](/ja/fine-reader/engine/licensing/modules#icr), [OMR](/ja/fine-reader/engine/licensing/modules#omr) | チェックマークおよび手書き風文字の認識用ファイル。                                                                                                                                                      |
| PDF              | [PDF Opening](/ja/fine-reader/engine/licensing/modules#openpdf)                                                                                                   | [ABBYY FineReader Engine Distribution Kit: PDF](/ja/fine-reader/engine/distribution/distribution-windows/distribution-kit/distribution-kit-pdf) セクションで、PDF を開くために必須とされているファイル。 |
| VC               | [Scanning](/ja/fine-reader/engine/licensing/modules#scanning), [User Patterns Training](/ja/fine-reader/engine/licensing/modules#user_patterns_training)          | スキャンおよびユーザーパターンのトレーニング用ファイル。                                                                                                                                                   |
| Classification   | [Document Classification](/ja/fine-reader/engine/licensing/modules#document_classification)                                                                       | 文書分類用ファイル。                                                                                                                                                                     |
| BCR              | [Business Card Recognition](/ja/fine-reader/engine/licensing/modules#business_card_recognition)                                                                   | 名刺認識用ファイル。                                                                                                                                                                     |
| BasicLang        | [Natural](/ja/fine-reader/engine/licensing/modules#natural)                                                                                                       | 特別なグループで定義されているものを除く、[基本の事前定義言語](/ja/fine-reader/engine/specifications/predefined-languages)用ファイル。                                                                             |
| DataCaptureLang  | [Natural for Data Capture](/ja/fine-reader/engine/licensing/modules#natural_for_data_capture)                                                                     | [特別な言語ユニット向けの事前定義言語](/ja/fine-reader/engine/specifications/special-predefined-languages)用ファイル。                                                                                 |
| OfficeConverters | [Office Formats Opening](/ja/fine-reader/engine/licensing/modules#officeformatsopening), [PDF Opening](/ja/fine-reader/engine/licensing/modules#openpdf)          | デジタル文書を開くためのファイル。                                                                                                                                                              |
| CompareDocuments | [Compare Documents](/ja/fine-reader/engine/licensing/modules#comparedocuments)                                                                                    | 文書比較用ファイル。                                                                                                                                                                     |
| Arabic           | [Arabic](/ja/fine-reader/engine/licensing/modules)                                                                                                                | アラビア語テキストの認識用ファイル。                                                                                                                                                             |
| Burmese          | [Burmese](/ja/fine-reader/engine/licensing/modules#burmese)                                                                                                       | ビルマ語テキストの認識用ファイル。                                                                                                                                                              |
| Chinese          | [Chinese](/ja/fine-reader/engine/licensing/modules)                                                                                                               | 中国語テキストの認識用ファイル。                                                                                                                                                               |
| Farsi            | [Farsi](/ja/fine-reader/engine/licensing/modules#farsi)                                                                                                           | ファルシ語テキストの認識用ファイル。                                                                                                                                                             |
| Japanese         | [Japanese](/ja/fine-reader/engine/licensing/modules)                                                                                                              | 日本語テキストの認識用ファイル。                                                                                                                                                               |
| Korean           | [Korean](/ja/fine-reader/engine/licensing/modules)                                                                                                                | 韓国語テキストの認識用ファイル。                                                                                                                                                               |
| FRXIX            | [FineReader XIX](/ja/fine-reader/engine/licensing/modules)                                                                                                        | 古いヨーロッパ言語のテキスト認識用ファイル。                                                                                                                                                         |
| Hebrew           | [Hebrew](/ja/fine-reader/engine/licensing/modules)                                                                                                                | ヘブライ語およびイディッシュ語テキストの認識用ファイル。                                                                                                                                                   |
| Thai             | [Thai](/ja/fine-reader/engine/licensing/modules)                                                                                                                  | タイ語テキストの認識用ファイル。                                                                                                                                                               |
| Vietnamese       | [Vietnamese](/ja/fine-reader/engine/licensing/modules)                                                                                                            | ベトナム語テキストの認識用ファイル。                                                                                                                                                             |

<Note>
  サイレントモードでインストールした場合、ABBYY FineReader Engine は Windows のコントロール パネルの「プログラムと機能」セクション (「プログラムのアンインストールまたは変更」メニュー) に表示されません。
</Note>

<div id="examples">
  ## 例
</div>

```
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 にインストールされます。進行状況バーが表示されます。Licensing Service はインストールされず、ABBYY FineReader Engine は MyServer コンピューター上のサーバーからネットワーク ライセンスを使用するように構成されます。

<Warning>
  ランタイム インストールでは、Protection.Developer.dll、および help、サンプル、Code Samples Library の各フォルダーはインストールされません (詳細は [ABBYY FineReader Engine Distribution Kit](/ja/fine-reader/engine/distribution/distribution-windows/distribution-kit) を参照してください) 。
</Warning>

<div id="upgrading-abbyy-finereader-engine-library">
  ## ABBYY FineReader Engine ライブラリのアップグレード
</div>

<Note>
  このトピックは Windows 版 FRE に適用されます。
</Note>

ABBYY FineReader Engine Release 5 以降では、製品を事前にアンインストールしなくても新しいバージョンにアップグレードできます。これまでと同じ方法でインストーラーを実行するだけです。

次の条件を満たしている必要があります。

* 開発者向けインストールの場合、すでにインストールされているバージョンが Release 5 以上であること。
* ランタイム インストールの場合、すでにインストールされているバージョンが Release 6 以上であること。
* インストールしようとしているバージョンのビルド番号が、すでにインストールされているバージョンよりも先頭 3 つの数字で新しいこと。
  * 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、4 番目の数字だけが新しい
  * 12.5.12.0 -> 12.5.11.0 — NOT OK、すでにインストールされているバージョンのほうが新しい

Release 5 より前のバージョン (ランタイム インストールの場合は Release 6) からアップグレードする場合、またはビルド番号の条件を満たしていない場合は、従来どおり ABBYY FineReader Engine をアンインストールしてから新しいバージョンをインストールする必要があります。

<div id="see-also">
  ## 関連項目
</div>

[配布](/ja/fine-reader/engine/distribution/distribution-windows)

[ABBYY FineReader Engine Distribution Kit](/ja/fine-reader/engine/distribution/distribution-windows/distribution-kit)

[モジュール](/ja/fine-reader/engine/licensing/modules)
