Skip to main content
Skip table of contents

How to configure installation parameters using command-line

An enterprise systems administrator may want to automate the Windows Desktop app deployment. 

To automate the app deployment the following scripts can be used:

  • Windows startup scripts;

  • Windows unattended scripts.

The Windows Desktop is distributed in the form of Microsoft Installer packages and supports all the standard Microsoft Windows Installer command-line parameters. (https://learn.microsoft.com/en-us/windows/win32/msi/command-line-options )

Additionally, an enterprise administrator can utilize the Windows Desktop app-specific configuration options.

Command-line parameters

Command-line option 

Description

 /i

Specifies normal installation.

 /f

Repair installation.

 /a

Specifies administrative installation.

 /x

Uninstalls the package.

 /quiet

Quiet mode, no user interaction.

CHECKUPDATE

Enable or Disable the automatic updates to the new versions.
CHECKUPDATE="TRUE" - enable automatic updates.
CHECKUPDATE="" - disable automatic updates

<path_to_package>

Specify the location and name of the installation package file.

 /norestart

Stops the device from restarting after the installation completes.

 /promptrestart

Prompts the user if a reboot is required.

 /forcerestart

Restarts the device after the installation completes.

SERVER=SERVER.NAME

Specifies the default launch option servername

PORTALID=XXXXXXXX

Specifies the default launch option portalid with the portal ID

USER=USERNAME

Specifies the default launch option user with the username

AUTH_TYPE= {[PASSWORD]
| SAML}

Specifies authentication type, PASSWORD for general app authentication,
SAML - Single Sign-on authentication, IF AUTH_TYPE is omitted, general authentication type is implied.

The command line must follow the below format:

CODE
msiexec.exe {/i | /f | /x}{[/norestart] | [/forcerestart] | [/promptrestart]} [/a] [/j{u|m|/g}] <path_to_package> [AUTH_TYPE= {[PASSWORD]| SAML]}[SERVER=SERVER.NAME] [PORTALID=XXXXXXXX] [USER=USERNAME]

Please read the article for more details on the format and commands interoperability.

Examples

Windows app can be updated to newer version without uninstall of previous version simply by command line

CODE
msiexec /i Setup.msi /qn

all users case (admin permissions needed)

CODE
msiexec /i Setup.msi ALLUSERS=1 /qn
JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.