您可以在 XML 檔案中定義安裝選項,以在無訊息模式中與 Workspace ONE Access Connector 安裝程式搭配使用。XML 檔案包含內容和值的清單。

您不一定需要在 XML 檔案中定義安裝選項。您可以在命令列上直接輸入選項。但是,使用 XML 檔案可讓您建立安裝組態,並使用相同的設定快速執行多個安裝。

程序

  1. 登入連接器伺服器。
  2. 建立名為 filename.xml 的 XML 檔案。
  3. 複製下方範例 XML 檔案的內容並貼到您的 XML 檔案中。
  4. 編輯您的 XML 檔案,並根據您的安裝需求修改內容值。
    如需內容的相關資訊,請參閱 Workspace ONE Access Connector 無訊息模式安裝內容
  5. 儲存檔案。

範例: 範例安裝內容 XML 檔案

<?xml version="1.0" encoding="utf-8"?>
<properties>
	<!-- List of services to be installed -->
	<property name="ADDLOCAL" value="UserAuthService,DirectorySyncService,KerberosAuthService,VirtualAppService" />

	<!-- Installation Directory -->
	<property name="INSTALLDIR" value="C:\VMware\Silent" />
	<!-- Installation Directory -->
	<property name="TARGETDIR" value="C:\VMware\Silent" />

	<!-- Provide the path for the es-config.json file which you downloaded from the Admin console. -->
	<!-- The file password will be specified through the command line argument WS1_CONFIG_FILE_PASSWORD. -->
	<property name="WS1_CONFIG_FILE_PATH" value="C:\Installer\es-config.json" />

	<!-- Proxy Configuration: 0 - No proxy, 1 - Configure Proxy -->
	<property name="WS1_IS_PROXY_ENABLED" value="0" />
	<!-- Proxy Host Name -->
	<property name="WS1_PROXY_HOSTNAME" value="" />
	<!-- Proxy Port Number -->
	<property name="WS1_PROXY_PORT" value="" />
	<!-- Proxy Authentication type: 1 - Anonymous, 2 - Authenticated -->
	<property name="WS1_IS_PROXY_AUTHENTICATED" value="1" />
	<!-- Proxy Username if proxy is Authenticated -->
	<!-- The proxy password will be specified through the command line argument WS1_PROXY_PASSWORD. -->
	<property name="WS1_PROXY_USERNAME" value="" />

	<!-- Syslog Configuration: 0 - No Syslog, 1 - Configure Syslog -->
	<property name="WS1_IS_SYSLOG_ENABLED" value="0" />
	<!-- Syslog Host name -->
	<property name="WS1_SYSLOG_HOSTNAME" value="" />

	<!-- Trust Store Certificate(s) folder path. Provide the folder path for certificates to be installed in the truststore. -->
	<property name="WS1_TRUSTSTORE_CERTS_PATH" value="C:\Installer\Certificates" />

	<!-- Port for UserAuthService -->
	<property name="WS1_USER_AUTH_PORT" value="8090" />
	<!-- Port for DirectorySyncService -->
	<property name="WS1_DIRECTORY_SYNC_PORT" value="8080" />
	<!-- Port for KerberosAuthService -->
	<property name="WS1_KERBEROS_AUTH_PORT" value="443" /> 
        <!-- Port for VirtualAppService -->
	<property name="WS1_APP_SYNC_PORT" value="8008" />

	<!-- SSL Certificate for Kerberos Auth Service: 0 - Self-signed Certificate, 1 - SSL certificate -->
	<property name="WS1_ADD_SSL_CERT" value="0" />
	<!-- File path for the SSL Certificate for Kerberos Auth Service, in .pem or .pfx format -->
	<!-- If SSL Certificate is a .pfx file, its password will be specified through the command line argument WS1_SSL_CERT_PASSWORD. -->
	<property name="WS1_SSL_CERT" value="" />
	<!-- File path for the private key file if SSL Certificate is a .pem file -->
	<property name="WS1_PRIVATE_KEY" value="" />

	<!-- Domain Username in the format DOMAIN\UserName, required to run the Kerberos Auth and Virtual App services as a domain user. It is also used to generate the keytab file for the Kerberos Auth service. -->
	<!-- The password will be specified through the command line argument IS_NET_API_LOGON_PASSWORD -->
	<property name="IS_NET_API_LOGON_USERNAME" value="win21021\admin" />
</properties>

下一步

當您在無訊息模式中執行 Workspace ONE Access Connector 安裝程式時,請使用 WS1_SETUP_CONFIG_FILE=filepath 引數來指定 XML 檔案。