Skip to main content

Custom MSI installer parameters

What

FileWave can add custom parameters to MSI Filesets. This applies to Filesets created from MSI files, but not to Filesets that FileWave creates automatically from Windows software updates.

When/Why

Some MSI installers accept custom parameters that will change the way software is installed. For example, many MSI installers allow the software installation path to be defined via an additional option at runtime.  Two such examples are:

Application Instal Path
UltraEdit TARGETDIR="<my-desired.path>"
7Zip

INSTALLDIR="<my-desired.path>"

You usually do not need to add a silent-install option here. FileWave already runs MSI installs silently.

How

These MSI parameters may be set in two ways.

FileWave Central

Through the newly included Fileset property items:

  • "Custom MSI install options"
  • "Custom MSI uninstall options"

image.png

FileWave Anywhere

Through the newly included Payload Settings:

  • "Custom MSI install options"
  • "Custom MSI uninstall options"

image.png

Multiple Options

Multiple options may be specified at the same time and should be separated by spaces.

For example, to install TeamViewer Host with multiple properties, use a format like this: SETTINGSFILE="YOURPATH\yourfilename.tvopt" APITOKEN=xxxxxx CUSTOMCONFIGID=xxxxxx

Parameters

Parameters may be used to define options, including Custom Fields.  

Example

For TeamViewer Host, you may want to keep the APITOKEN out of the visible MSI options while still passing it to the installer at runtime. A Custom Field can store that value.

image.png

The Custom MSI install options could then be:

APITOKEN=%teamviewer_api_token%

Parameters can include MSI properties such as SETTINGSFILE, APITOKEN, or CUSTOMCONFIGID.

Custom MSI settings can define options that start with a leading / or special parameters such as ALLUSERS. When you use Custom Fields as parameters, FileWave removes options with a leading / and special parameters such as ALLUSERS so hidden parameter values cannot silently force behavior such as a reboot.

In both FileWave Central and Anywhere there are also "Learn More" links directing to this page.

Information

Option definitions:

Custom MSI install options Options passed to the MSI during Fileset activation.
Custom MSI uninstall options

Options passed to the MSI when the Fileset is disassociated.

Requires 'Use MSI Uninstaller' to be enabled and that the MSI uninstaller supports this option.

(Firefox is an example of an MSI that does not support this feature)

Related Content