Silent Installation

This article provides a detailed guide on using the msiexec command-line utility to install the Sendent application with specific installation properties. For more details such as the installation options please refer to this guide.

What is msiexec?

msiexec is a command-line utility in Microsoft Windows for installing, configuring, and managing software packages in the form of Windows Installer (.msi) files. It is a powerful tool used for automating software deployments, ensuring consistent installations, and managing software lifecycles.

Using msiexec for Sendent Installation

The following example demonstrates how to use msiexec to install Sendent with custom properties, such as specifying a default Nextcloud URL, and generating a log file for the installation process.

Command Syntax

msiexec /i <path_to_msi> /quiet /qn /norestart /log <log_path> DEFAULTNEXTCLOUDURL="<nextcloud_url>"

Properties Explained

<path_to_msi>: This is the file path to the Sendent MSI installer. For example, the path can be C:\example\Setup_Premium_x64.msi

<log_path>: This is the file path where the installation log will be written. For example the path can be c:\example\install.log

<nextcloud_url> (Optional): This the default URL for Nextcloud that will be set for the Sendent add-in. If this property is set, it will override any other settings and/or Group Policy Objects (GPO).

Common Command-Line Options

/i: Installs or configures a product.

/x: Uninstalls a product.

/f: Repairs an installation.

/qn: No user interface is displayed during the installation.

/quiet: Completely silent installation with no user interaction.

/log <logfile>: Specifies the path to a log file where installation details and errors will be recorded.

/norestart: Prevents the installer from restarting the system after the installation is complete.

Practical Example

To install Sendent using the MSI installer located at C:\example\Setup_Premium_x64.msi, with a log file created at c:\example\install.log, and setting the default Nextcloud URL to https://cloud.sendent.nl, use the following command:

msiexec /i C:\example\Setup_Premium_x64.msi /quiet /qn /norestart /log c:\example\install.log DEFAULTNEXTCLOUDURL="https://cloud.sendent.nl"

Was this article helpful?