Skip to main content

XProtect Management Client

使用專用服務帳戶靜默安裝

最後更新日期: 閱讀時間 2 分鐘
版本2025 R3
語言中文(繁體)

如果您要安裝 XProtect VMS 若未參與,您必須使用下表中的引數啟動安裝程式。必須建立引數並將其儲存在安裝前所產生的引數XML檔案中。

引數

說明

--quiet

強制執行靜音安裝。

--arguments

完整設定的引數XML檔案的路徑。路徑可以是: C:\Arguments.xml.

--license

授權檔案的路徑。

使用專用服務帳戶

此說明基於對集成安全性的專用服務帳戶的使用情況。無論哪個用戶登錄,服務始終在專用帳戶上運行,並且您必須確保該帳戶具有執行任務以及訪問網絡、文件和共享文件夾等所有必需的權限。

必須在引數XML檔案中指定以下鍵的服務帳戶:

SERVICEACCOUNT

SERVICEACCOUNT_NONLOC

服務帳戶的密碼必須在下列金鑰的值中以純文字指定:

ENCRYPTEDPASSWORD

範例:在靜音模式下啟動安裝的命令行:

"MilestoneXProtect VMS Products 2023 R2 System Installer.exe" --quiet --arguments=C:\Arguments.xml --license=C:\M01-C01-231-01-ABCDEF.lic

範例:根據專用服務帳戶使用的引數檔案
<?xml version="1.0" encoding="utf-8"?>
<CommandLineArguments xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:[company_name]">
  <InstallEnvironment>
    <Parameters>
      <KeyValueParametersOfStringString>
        <Value>true</Value>
        <Key>USERACCOUNT</Key>
      </KeyValueParametersOfStringString>
      <KeyValueParametersOfStringString>
        <Value>domain\sampleaccount</Value>
        <Key>SERVICEACCOUNT</Key>
      </KeyValueParametersOfStringString>
      <KeyValueParametersOfStringString>
        <Value>domain\sampleaccount</Value>
        <Key>SERVICEACCOUNT_NONLOC</Key>
      </KeyValueParametersOfStringString>
      <KeyValueParametersOfStringString>
        <Value>sampleaccountpasswordplaintext</Value>
        <Key>ENCRYPTEDPASSWORD</Key>
      </KeyValueParametersOfStringString>
      <KeyValueParametersOfStringString>
        <Value>%PROGRAMFILES%\Milestone</Value>
        <Key>TARGETDIR</Key>
      </KeyValueParametersOfStringString>
      <KeyValueParametersOfStringString>
        <Value>true</Value>
        <Key>IsXPCO</Key>
      </KeyValueParametersOfStringString>
      <KeyValueParametersOfStringString>
        <Value>true</Value>
        <Key>IsDPInstaller</Key>
      </KeyValueParametersOfStringString>
      <KeyValueParametersOfStringString>
        <Value>false</Value>
        <Key>LEGACY</Key>
      </KeyValueParametersOfStringString>
      <KeyValueParametersOfStringString>
        <Value>yes</Value>
        <Key>SQL-KEEP-DATA</Key>
      </KeyValueParametersOfStringString>
      <KeyValueParametersOfStringString>
        <Value>no</Value>
        <Key>SQL-CREATE-DATABASE</Key>
      </KeyValueParametersOfStringString>
      <KeyValueParametersOfStringString>
        <Value>True</Value>
        <Key>IS_EXTERNALLY_MANAGED</Key>
      </KeyValueParametersOfStringString>
      <KeyValueParametersOfStringString>
        <Value>Data Source=server.database.windows.net;Initial Catalog=Surveillance;Persist Security Info=True;TrustServerCertificate=True;Authentication=ActiveDirectoryIntegrated</Value>
        <Key>SQL_CONNECTION_STRING_MS</Key>
      </KeyValueParametersOfStringString>
      <KeyValueParametersOfStringString>
        <Value>Data Source=server.database.windows.net;Initial Catalog=Surveillance_IDP;Persist Security Info=True;TrustServerCertificate=True;Authentication=ActiveDirectoryIntegrated</Value>
        <Key>SQL_CONNECTION_STRING_IDP</Key>
      </KeyValueParametersOfStringString>
      <KeyValueParametersOfStringString>
        <Value>Data Source=server.database.windows.net;Initial Catalog=Surveillance_IM;Persist Security Info=True;TrustServerCertificate=True;Authentication=ActiveDirectoryIntegrated</Value>
        <Key>SQL_CONNECTION_STRING_IM</Key>
      </KeyValueParametersOfStringString>
      <KeyValueParametersOfStringString>
        <Value>Data Source=server.database.windows.net;Initial Catalog=Surveillance;Persist Security Info=True;TrustServerCertificate=True;Authentication=ActiveDirectoryIntegrated</Value>
        <Key>SQL_CONNECTION_STRING_ES</Key>
      </KeyValueParametersOfStringString>
    </Parameters>
  </InstallEnvironment>
</CommandLineArguments>
執行安裝前必須完成的必要條件:
  • 必須建立服務帳戶以及用來執行安裝的帳戶。

  • 必須允許服務帳戶在執行安裝的計算機上作為服務登錄。請參閱登入為服務。

  • 要使用的資料庫 XProtect 必須建立,且資料庫必須在XML引數檔案中命名,例如:

資料庫名稱

Surveillance

Surveillance_IDP

Surveillance_IM

  • 必須按照以下列表配置數據庫:

資料庫設定

必須將預設定序設定為''SQL_Latin1_General_CP1_CI_AS"

ALLOW_SNAPSHOT_ISOLATION 必須設為 ON

READ_COMMITTED_SNAPSHOT 必須設為 ON

  • 必須為每個數據庫中的服務帳戶和用於執行安裝的帳戶創建SQL Server登錄。必須在每個數據庫中創建一個數據庫用戶,並且該用戶必須是每個數據庫上db_owner角色的成員。