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: Thinfinity_Workspace_v8.0.1.109_Setup_x64.msi .

  • Make sure to run your command prompt with administrator privileges.

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 Thinfinity_Workspace_v8.0.1.109_Setup_x64.msi /q /log myLog.log
Installing Thinfinity Workspace in All Components mode

Use the next command to install all the components of Thinfinity Workspace.

msiexec /i Thinfinity_Workspace_v8.0.1.109_Setup_x64.msi /q
Installing Thinfinity Workspace Gateway

To install only a Gateway, a Broker (Primary or Secondary), or an Agent, use the SM_TYPE parameter to specify the component. For example:

Info If the SM_TYPE parameter is not specified, Thinfinity Workspace will be installed in All Components mode by default.

msiexec /i Thinfinity_Workspace_v8.0.1.109_Setup_x64.msi /q SM_TYPE="SM_Gateway"
msiexec /i Thinfinity_Workspace_v8.0.1.109_Setup_x64.msi /q /l*v ServerGW.log CMDLINE="%CMDLINE%"  SM_TYPE="SM_Gateway"
Installing Thinfinity Workspace Broker Primary/Secondary

When installing a Broker, it's necessary to define its type using the BROKERROLE parameter. It can take one of two values: BROKERROLE="BR_Primary" or BROKERROLE="BR_Secondary".

Use the next command to install the Thinfinity Workspace Primary Broker:

msiexec /i Thinfinity_Workspace_v8.0.1.109_Setup_x64.msi /q BROKERROLE="BR_Primary"
SM_TYPE="SM_Broker"

Use the next command to install the Thinfinity Workspace Secondary Broker:

msiexec /i Thinfinity_Workspace_v8.0.1.109_Setup_x64.msi /q BROKERROLE="BR_Secondary"
SM_TYPE="SM_Broker"
Installing Thinfinity Workspace Agent

Use the next command to install the Thinfinity Workspace Agent:

msiexec /i Thinfinity_Workspace_v8.0.1.109_Setup_x64.msi /q /log SM_TYPE="SM_Agent"

Last updated

Was this helpful?