Vous pouvez définir vos options d'installation dans un fichier XML à utiliser avec le programme d'installation de Workspace ONE Access Connector en mode silencieux. Le fichier XML contient une liste de propriétés et de valeurs.
La définition des options d'installation dans un fichier XML n'est pas obligatoire. Vous pouvez entrer les options directement sur la ligne de commande. Cependant, l'utilisation d'un fichier XML vous permet de créer une configuration d'installation et d'effectuer rapidement plusieurs installations en utilisant les mêmes paramètres.
Procédure
Exemple : Exemple de fichier XML de propriétés d'installation
<?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>
Que faire ensuite
Lorsque vous exécutez le programme d'installation de Workspace ONE Access Connector en mode silencieux, utilisez l'argument WS1_SETUP_CONFIG_FILE=filepath
pour spécifier le fichier XML.