You can set various options for the Workspace ONE Access Desktop application when you run its installer program using the command line or a deployment script.

Available Command-Line Options for the Workspace ONE Access Desktop Installer

After you download the .exe file for the client application's installer to a Windows system, you can see a list of the installation options by running the following command:
VMware-Workspace-One-Access-Desktop-n.n.n-nnnnnnn /?
where n.n.n-nnnnnnn represents the file's version and build number. A dialog box appears that lists the available installation options for installing the client application using the command line or a deployment script.
Table 1. Installer Command-Line Options
Installer Option Value Description
/? Displays the installer command-line options.
/a Performs an administrative installation.

For more information, see the Windows Installer documentation.

/a full path to existing administrative installation Patches an existing administrative installation.
/s Hides the initialization dialog box during installation.

To install in silent mode, use /s /v/qn.

In silent mode, no messages, dialog boxes, or prompts are displayed during installation You typically use this option when creating a deployment script to run the installer.

/v key-value pairs A set of parameters to pass to the installer, specified as key-value pairs. Use the format key=value. These arguments configure runtime options for the ThinApp packages and for the Workspace ONE Access Desktop in general.
/c Cleans out installation registration information.
/l [full path to log file] Performs detailed logging and saves to the specified log file.

If you don't specify a log file, a default log in %TEMP% is used.

/x Unpacks the installer into the %TEMP% folder.

Key-Value Pairs for the /v Option

You can use the following key-value pairs for the /v installer option.

Table 2. Keys for the /v Installer Command-Line Option
Key Value Description
WORKSPACE_SERVER Host name or URL of the Workspace ONE Access service

Provides the Workspace ONE Access service host name or URL, to allow the Workspace ONE Access Desktop application to communicate with the service. HTTPS is the required protocol. Enclose the value in quotation marks.

Use the following format:

WORKSPACE_SERVER="https://WorkspaceONEAccessFQDN"

or

WORKSPACE_SERVER="WorkspaceONEAccessHostName"

For example:

WORKSPACE_SERVER="https://myserver.example.com"

WORKSPACE_SERVER="myserver"

INSTALL_MODE One of the following:

COPY_TO_LOCAL

HTTP_DOWNLOAD

RUN_FROM_SHARE

Sets the deployment mode for how the Workspace ONE Access Desktop application obtains ThinApp packages at runtime. ThinApp packages are virtualized Windows applications. The ThinApp packages reside on a network share that is integrated with Workspace ONE Access.

  • COPY_TO_LOCAL: The user's entitled packages are downloaded to the client Windows system using a file copy. When the user launches a ThinApp package, the virtualized application runs locally on that system. Before the user's first download and use of an entitled ThinApp package and to continue synchronizing the packages to the client Windows system, the client Windows system must join the same Active Directory domain to which the ThinApp packages' network share is joined. The user account used to log in to the Windows system is the account that is used to obtain the ThinApp packages from the network share. That account must have the appropriate permissions on the network share to read and copy files from the network share.
    Important: COPY_TO_LOCAL mode requires the ThinApp share to be reachable from the user's Windows system.
  • HTTP_DOWNLOAD: The user's entitled packages are downloaded to the client Windows system using the HTTP protocol. When the user launches a ThinApp package, the virtualized application runs locally on that system. The Workspace ONE Access Desktop application uses the user's Workspace ONE Access system account to authenticate to Workspace ONE Access to obtain the list of the user's entitled packages to download. The share user account provided in the Workspace ONE Access console is the account used by Workspace ONE Access to access the ThinApp packages from the repository. That share user account for Workspace ONE Access needs read permission on the network share. The account that the user used to log in to the client Windows system and the user's Workspace ONE Access system account do not need to have any permissions on the network share. The client Windows system does not have to join the same domain to which the ThinApp packages' network share is joined. This download method is typically slower than using the other modes. The benefit to this mode is that the client Windows system does not have to join the Active Directory domain to obtain and run the virtualized application.
    Important: HTTP_DOWNLOAD mode requires the Base Download URL, which you set in the ThinApp virtual apps collection, to be reachable from the user's Windows system.
  • RUN_FROM_SHARE: The virtualized application is streamed to the client Windows system from the network share when the user launches the ThinApp package. The RUN_FROM_SHARE option is best suited for Windows systems that will always have connectivity to the network share where the ThinApp packages reside, because the ThinApp packages are not present on the Windows system and the virtualized applications only run if the Windows system can connect to the network share. The client Windows system must join the same Active Directory domain to which the ThinApp packages' network share is joined. The user account used to log in to the Windows system is the account that is used to obtain the ThinApp packages from the network share. That account must have the appropriate permissions on the network share to read and execute files on the network share.
    Important: RUN_FROM_SHARE mode requires the ThinApp share to be reachable from the user's Windows machine.

The default value is COPY_TO_LOCAL.

For all of the modes, the network share must have the appropriate file and sharing permissions configured.

Important: When installing Workspace ONE Access Desktop in floating Horizon desktops, use the RUN_FROM_SHARE option to avoid copying the ThinApp packages into those stateless Horizon desktop systems.

When the Workspace ONE Access Desktop application is installed with one of the following configurations, the user account that logs into the Windows system must have the appropriate file and sharing permissions on the network share to be able to obtain the ThinApp packages:

  • The RUN_FROM_SHARE option
  • The COPY_TO_LOCAL option, without also having the AUTO_TRY_HTTP option enabled
POLLING_INTERVAL Frequency in seconds Sets the frequency, in seconds, of synchronization between the installed Workspace ONE Access Desktop application and Workspace ONE Access to check for new ThinApp packages or entitlements. If unspecified, the default value of 300 seconds (5 minutes) applies.

For example:

POLLING_INTERVAL=600

ENABLE_AUTOUPDATE 0 or 1

Turns on or turns off the automatic update check and download activity. If enabled, the installed Workspace ONE Access Desktop application automatically checks if a newer application is available for download. If a newer version is available, the Workspace ONE Access Desktop application automatically downloads and updates itself to the newer version. This option is enabled by default.

Set the value of this variable to 0 to turn off automatic update. If unspecified, the default value of 1 applies.

Installation of automatic updates requires administrator privileges.
SHARED_CACHE 0 or 1

Determines whether the ThinApp package cache is located in a common folder in the Windows system to which the client application is being installed. Set the value of this variable to 1 to specify that all user accounts on the Windows system share a common cache location. By default, the common folder is %ProgramData%\VMware\Workspace ONE Access Desktop\thinapp.

If unspecified, the default value of 0 applies, and each Windows user account gets its own cache, and its default location is %LOCALAPPDATA%\VMware\Workspace ONE Access Desktop\thinapp.

Note: If you specify a shared cache, the Workspace ONE Access Desktop application does not automatically delete ThinApp packages from this shared cache. Because SHARED_CACHE=1 indicates that all user accounts on the Windows system share the same location, the packages must remain in the shared location so that entitled users can use them, even when you unentitle one user. When you unentitle a user from a ThinApp package, the Workspace ONE Access Desktop application unregisters that package for that user. Other entitled users on that Windows system can continue to use the ThinApp package. You can delete the common cache manually to reclaim the space if no user accounts on that Windows system are entitled to use the ThinApp packages. Each ThinApp package has its own folder under the cache location.
CACHE_DIR Path to folder Sets the location where ThinApp packages will be cached locally if the HTTP_DOWNLOAD or COPY_TO_LOCAL install modes are used. This value is set per system, not per user, so you must use environment variables, such as %LOCALAPPDATA%, to select user-specific locations. Be sure to escape the % character on the command-line to prevent immediate expansion. For example:

CACHE_DIR=^%LOCALAPPDATA^%\cache

AUTO_TRY_HTTP 0 or 1

When the Workspace ONE Access Desktop application is installed with the COPY_TO_LOCAL option, the AUTO_TRY_HTTP option determines whether the client should automatically try downloading the user's entitled ThinApp packages using the HTTP protocol, similar to the HTTP_DOWNLOAD option, if the first download attempt fails. This option is turned on by default. To turn off the option, set the value to 0.

INSTALL_MODULES thinapp A comma-separated list specifying which modules to install. Currently, only the thinapp module is available.

Using the Workspace ONE Access Desktop Command-Line Installer Options

If your Workspace ONE Access instance has a URL of https://workspaceoneaccessFQDN, and you want to silently install the Workspace ONE Access Desktop application to multiple desktops of that Workspace ONE Access instance with these options:

  • The ThinApp install option set to HTTP_DOWNLOAD, because you expect these Windows systems will not be likely to join the domain.
  • The clients check for new packages and entitlements with Workspace ONE Access every 60 seconds.
You would create a script that invokes the following command:
VMware-Workspace-One-Access-Desktop-n.n.n-nnnnnnn.exe /s
   /v/qn WORKSPACE_SERVER="https://workspaceoneaccessFQDN" INSTALL_MODE=HTTP_DOWNLOAD POLLING_INTERVAL=60
where you replace the n.n.n-nnnnnnn portion of the file name to match the name of your downloaded Workspace ONE Access Desktop installer.