---
title: "Automating Installation Using the msi File"
canonical: "https://help.innovyze.com/space/xps/19662305/Automating%20Installation%20Using%20the%20msi%20File"
format: markdown
---
Autodesk Water provides you the option to customize and automate the installation through an msi installer, making it possible quickly deploy the software across multiple workstations through the Microsoft System Center Configuration Manager (SCCM).  

> ⚠️ **Note**
> ⚠️ 
> ⚠️ All [Prerequisites](https://help-innovyze.atlassian.net/wiki/spaces/xps/pages/19662604/Third+Party+Downloads#ThirdPartyDownloads-Prerequisites) must be installed prior to using the msi installer. You must also use a command prompt with elevated (administrator) privileges.

## Supported Switches and Options

Using the msi file in the command line follows this form: 

`msiexec.exe <install_option> <path_to_package or package_name> [display_options] [additional_parameters]`


Additional information on the install options and switches used with msi installers can be found on the [Microsoft website](https://msdn.microsoft.com/en-us/library/windows/desktop/aa367988(v=vs.85).aspx).

The following are the additional parameters used specifically within Autodesk Water:

| **Parameter** | **Description** |
| --- | --- |
| `LICENSE_SERVER_ADDRESS` | **Required** for NetworkClient installs.<br>The address of the server that has the Sentinel network dongle. |
| `LICENSE_FILE_PATH` | **Required** for Standalone and NetworkClient installs.<br>The full path to the xcf license configuration file. |
| `CMDLINE_SETUP_TYPE` | **Always required** for installs. Use one of the following types:<br>- Standalone
- NetworkClient
- NetworkServer |
| `APPLICATIONFOLDER` | **Optional**. The folder to install the application to. Otherwise, it will install to a default location such as (on a 64 bit system):<br>`C:\Program Files\Innovyze\xpswmm2019.1` |


### Examples 

| **Install scenario** | **Command line** |
| --- | --- |
| Quiet installation of standalone version, with no visible user interface | `msiexec /i xpswmm2019.1.msi /quiet /qn CMDLINE_SETUP_TYPE=Standalone LICENSE_FILE_PATH="C:\xpswmm.xcf"` |
| Passive (unattended) network client installation | msiexec /i xpswmm2019.1.msi /passive CMDLINE_SETUP_TYPE=NetworkClient LICENSE_FILE_PATH="C:\xpswmm.xcf" LICENSE_SERVER_ADDRESS=192.168.0.1 |
| Quiet uninstall with basic user interface | `msiexec /x xpswmm2019.1.msi /qb` |

*The above examples assume that the commands are being entered in the same folder where the msi and license files are located. 

## Using the msi file to specify a Innovyze network license via a silent install

This is currently not supported in the latest version of the application.

In order to achieve this, as a workaround, the installer would need to be extended to pass the additional Innovyze license parameters.

At the moment, you would need to do a [silent installation](https://help-innovyze.atlassian.net/wiki/spaces/xps/pages/19662146), then modify the [INI file](https://help-innovyze.atlassian.net/wiki/spaces/xps/pages/19663113) with the configuration for the Innovyze license.

1. The [Innovyze License Administrator](https://help-innovyze.atlassian.net/wiki/spaces/ILA/overview) (ILA) installer is the same as the network host installer, however, use the msi command line to install for “fixed”.  The default is network, but it’s the same installer msi.
2. Having Microsoft Access installed is different that the DB engine. This is needed to use Excel or MDB import into XPSWMM.