此主題也有 Linux 版本。
- 我們建議您僅在執行階段安裝 (解除安裝) 時,以手動模式安裝 (解除安裝) Licensing Service。若為開發用途,請使用標準安裝與解除安裝。
- 請使用同一套件中的 ABBYY FineReader Engine 和 Licensing Service。否則無法保證相容性。
以自動模式安裝
installLS.exe 檔案,並依照安裝指示完成安裝。
以手動模式安裝
可在命令列中對 installLS.exe 檔案使用 /extract 選項,將發行套件中的必要檔案解壓縮到指定資料夾,而不執行安裝。該資料夾中會包含兩個子資料夾:
- Licensing - 包含 Licensing Service 檔案
- License Server - 包含 License Server 檔案
命令列範例:
- Licensing Service 資料夾,其中包含從解壓縮的 Licensing 資料夾複製的所有檔案。
- 授權管理員 (License Manager64) 資料夾,其中包含從解壓縮的 License Server 資料夾複製的下列檔案:Linux:libAbbyyZlib.so、libFineFormats.so、libFineNet.so、libFineObj.so、libPortLayer.so、libProtection.so、libProtectionConsoleUI.so、LicensingSchema.xe、ProductLicensingSchema.xe、LicensingService,以及 LicenseManager.Console。複製您所需介面語言的資源檔 libProtectionRes*.so,以及 libProtectionResShared.so
- KB2999226 更新,或 Microsoft Visual C++ 2015-2019 Redistributable 14.28.29912。如果您不安裝 Windows Update 套件,也可以從 distribution package 中的 External Components\VC_Redist 資料夾安裝 redistributable:vc_redist.x86.exe 和 vc_redist.x64.exe。
- 將 LS Package 複製到工作站。
我們建議您將 ABBYY FineReader Engine 檔案整理為易於尋找和使用的資料夾結構。請參閱下列範例:
- <YourApplicationFolder>/ABBYY FineReader Engine 程式庫。
- <YourApplicationFolder>/License Server/Licensing Service。
- <YourApplicationFolder>/License Server/授權管理員 (License Manager64)。
- 安裝 Microsoft Visual C++ 2015-2019 Redistributable 14.28.29912。
- 將 LS Package 中的資料夾複製到工作站上您預定作為 Licensing Service 的目錄。
- 建立一個用於儲存授權資料的資料夾 (預設為 %ProgramData%\ABBYY\SDK\12\Licenses 資料夾) 。Everyone 必須對此資料夾具有完全控制權限。
- 對於線上授權:建立或選擇一個資料夾,供您的應用程式搜尋授權權杖檔案,並將權杖檔案放置於其中。您可以選擇 %ProgramData%\ABBYY\SDK\12\Licenses 資料夾 (此為預設行為) ,或另一個用於儲存授權資料的資料夾。Everyone 必須對這些資料夾具有完全控制權限。
- 建立一個 LicensingSettings.xml 檔案,並根據授權類型指定設定 (詳情請參閱 Working with the LicensingSettings.xml File) 。
- 將已設定的 LicensingSettings.xml 檔案複製到工作站上的下列資料夾:
- Licensing Service。
- 授權管理員 (License Manager64)。
- 含有 ABBYY FineReader Engine 檔案且與 FREngine.dll 位於同一層的資料夾。
- 使用 “/install” 參數執行 LicensingService.exe:
- 在授權伺服器上安裝 Licensing Service:
-
將 LS Package 複製到授權伺服器。
注意:建議您以便於尋找和使用的資料夾結構整理 ABBYY FineReader Engine 檔案。請參閱以下範例:
- <YourApplicationFolder>/License Server/Licensing Service.
- <YourApplicationFolder>/License Server/授權管理員 (License Manager64).
- 安裝 Microsoft Visual C++ 2015-2019 Redistributable 14.28.29912。
- 將 LS Package 中的資料夾複製到授權伺服器上預定放置 Licensing Service 的目錄。
- 建立用於儲存授權資料的資料夾 (預設為
%ProgramData%\ABBYY\SDK\12\Licenses資料夾) 。所有人都必須對此資料夾具有完全控制權限。 - 為授權伺服器建立 LicensingSettings.xml 檔案,並根據授權類型指定設定 (詳情請參閱 Working with the LicensingSettings.xml File) 。
- 將已設定的 LicensingSettings.xml 檔案複製到授權伺服器上的下列資料夾:
- Licensing Service。
- 授權管理員 (License Manager64) 。
- 設定授權伺服器與工作站之間的連線:
-
針對線上授權:在所有工作站上建立或選擇一個資料夾,讓您的應用程式在其中尋找授權權杖檔案,並將權杖檔案放在該資料夾中。您可以選擇
%ProgramData%\ABBYY\SDK\12\Licenses資料夾 (此為預設行為) ,或其他用於儲存授權資料的資料夾。所有人都必須對這些資料夾具有完全控制權限。 - 為工作站建立 LicensingSettings.xml 檔案,並根據授權類型指定設定 (詳情請參閱 Working with the LicensingSettings.xml File) 。
- 在所有工作站上,將已設定的 LicensingSettings.xml 檔案複製到 ABBYY FineReader Engine 檔案所在、且與 FREngine.dll 同一層的資料夾中。
-
使用
"/install"參數執行 LicensingService.exe:
