|Manuals

Passing Parameters As Arguments

Here is how to perform a Silent Install using msiexec to pass parameters as arguments.

Prerequisites

  • Make sure to use the .msi installer files to run the msiexec commands. For example, for Thinfinity® Workspace the installer would be: [installer_file.msi] .
  • Make sure to run your command prompt with administrator privileges.

Installing Thinfinity Workspace Via Silent Installation Method

To install a .msi file silently, the required argument is /q or /quiet which allows the installation to run silently, without displaying the user interface.

msiexec /i [installer_file.msi] /q

Additionally, you can use the /log argument followed by a file name to generate a log of the installation process. For example:

msiexec /i [installer_file.msi] /q /log myLog.log

To set the role of the installed server, use the CMDLINE="/SetInstance services.role:X" parameter as shown in the following paragraphs.

Info

If the Role parameter is not specified, Thinfinity Workspace will be configured in All-in-one mode by default.

You can pass any configuration parameter as a key:value argument using dot notation — for example, networkId:MyNet or services.role:1. For the full list of keys, see the JSON Parameters Reference. For complex configurations, the JSON file method is recommended.

Set Thinfinity Workspace in All-in-One Mode

Execute the following command to configure Thinfinity Workspace in an All-in-one deployment mode.

msiexec /i [installer_file.msi] /q CMDLINE="/SetInstance services.role:0"

Set Thinfinity Workspace As Gateway

When configuring Thinfinity Workspace as a Gateway, it is necessary to specify its role by setting the service.role parameter to 1 using the SetInstance command.

msiexec /i [installer_file.msi] /q CMDLINE="/SetInstance services.role:1"
 msiexec /i [installer_file.msi] /q /log ServerGW.log CMDLINE="/SetInstance services.role:1"

Set Thinfinity Workspace As Broker Primary/Secondary

When configuring Thinfinity Workspace as a Broker, it is necessary to specify its role by setting the service.role parameter. For Primary Broker, set the role to 2, and for Secondary Broker, set the role to 3.

  • Use the next command to set the Thinfinity Workspace Primary Broker:
msiexec /i [installer_file.msi] /q CMDLINE="/SetInstance services.role:2"
  • Use the next command to set the Thinfinity Workspace Secondary Broker:
msiexec /i [installer_file.msi] /q CMDLINE="/SetInstance services.role:3"

Set Thinfinity Workspace As VirtualUI Agent

Execute the following command to set Thinfinity Workspace as a VirtualUI Agent:

msiexec /i [installer_file.msi] /q CMDLINE="/SetInstance services.role:4"

Set Thinfinity Workspace AD Cache (RemoteAD)

Execute the following command to set Thinfinity Workspace as an AD Cache (RemoteAD) node:

msiexec /i [installer_file.msi] /q CMDLINE="/SetInstance services.role:5"

Set Thinfinity Workspace As an Agent

Execute the following command to set Thinfinity Workspace as an Agent:

msiexec /i [installer_file.msi] /q CMDLINE="/SetInstance services.role:6"

Thinfinity Workspace Desktop Client also supports silent installation. Use the following command line to initiate the installation:

msiexec /i [installer_file.msi] /q WORKSPACEURL="https://myServerUrl.com"

The WORKSPACEURL parameter is optional and can also be configured post-installation once the Desktop Client has been set up.

Post-Installation Configuration Procedures

Following the completion of the installation process, the node’s assigned role can also be configured or adjusted using the Configuration Manager utility:

  1. Launch the Configuration Manager application.
  2. Navigate to the Services tab.
  3. Select and assign the appropriate role from the available options.
  4. Do not forget to select Apply to save the changes.