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="/SetInstanceRole: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.

Set Thinfinity Workspace in All Components 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 /l*v 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 in 2, and for Secondary Broker set the role in 3.

  • Use the next command to set the Thinfinity Workspace Primary Broker:

  • Use the next command to set the Thinfinity Workspace Secondary Broker:

Set Thinfinity Workspace as VirtualUI Agent

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

Set Thinfinity Workspace RemoteAD

Execute the following command to set Thinfinity Workspace as a RemoteAD:

Set Thinfinity Workspace as an Agent

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

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

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 be 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 click Apply to save the changes.

Last updated

Was this helpful?