Installing FME Desktop from the Windows Command Prompt

We recommend installing FME Desktop using the installation wizard. However, installing from the command prompt may be useful when you want to perform a silent or remote installation.

About the Installer

The FME Desktop installer is a self-extracting executable from which you can directly call an installer package (MSI) in a single command. Alternatively, you can manually extract installation files, then call the MSI file to silently install.

Note  A command prompt installation does not prompt you to uninstall any previous versions of FME that are in the same folder. We strongly recommend that you uninstall any previous FME before silently installing another into the same folder.

Performing an Installation

Example Syntax

Extract the installer to C:\FME\installer and install with all default options

This examples assumes you are running a command line from a directory that contains an installer named fme-desktop-win-x64.exe.

fme-desktop-win-x64.exe -d"C:\FME\installer" -s -sp"/qb /norestart INSTALLLEVEL=3 ENABLE_POST_INSTALL_TASKS=no"

Extract the installer to C:\FME\installer and install to C:\Program Files\FME12345

This examples assumes you are running PowerShell from a directory that contains an installer named fme-desktop-win-x64.exe.

./fme-desktop-win-x64.exe -d"C:\FME\installer" -s -sp"/qb /norestart INSTALLLEVEL=3 ENABLE_POST_INSTALL_TASKS=no INSTALLDIR=""""""""C:\Program Files\FME12345"""""""""

Executable Parameters

-d<path>

Sets the destination folder for unpacked files.

-s, -s1, -s2

Silent mode. Switch -s is a brief form of -s1. Both -s and -s1 hide the main dialog and extraction progress. -s2 hides the start dialog, but extraction progress is displayed.

-sp<par>

Silent parameters to pass to the extracted MSI installer when it is run. For more information, see MSI-Specific Parameters.

Note  Quotations must be escaped with eight quotations (see example, above).

Installing from the MSI

Use the following syntax to perform a silent installtion from an MSI that was already extracted manually from the installer executable.

Note  You may need to unblock the downloaded .msi file in order to run it. To unblock a file, use the Unblock-File command in the Windows PowerShell utility. For more information, see https://docs.microsoft.com/en-us/powershell/module/microsoft.powershell.utility/unblock-file?view=powershell-6.

msiexec /i <path_to_installer> /qb INSTALLLEVEL=3 INSTALLDIR="<installdir>" ENABLE_POST_INSTALL_TASKS=no

Example   

msiexec /i fme_beta.msi /qb INSTALLLEVEL=3 INSTALLDIR="C:\Program Files\FME" ENABLE_POST_INSTALL_TASKS=no

Note  INSTALLLEVEL=3 must always be specified when installing silently from the command line.

MSI-Specific Parameters

Post-Install Tasks

Licensing FME Desktop from the Windows Command Prompt

MSSQL Formats Only