Controlling Installation with Command Line Arguments

You can control various behaviors of the installation process using command line arguments. They are passed space separated. Some arguments (starting with the /) are default windows installer arguments where the others are custom. Without using the minimal mode or silent mode the options simply configure the default setting shown on the screen (but can still be changed during installation).

MINIMAL=1

Makes the installer run in minimal user-interface mode. In this mode configuration dialogs with choices that you, the developer, want to retain control over at deployment sites are skipped (path selection, IIS installation, file associations) but critical dialogs like the license agreement are shown. This option is only supported using the Windows Client and Web Application Server installations.

DFLANGUAGE=xx

Determines which language files are installed (collating sequence, error files, packages). Possible values are:

The value is case insensitive, if an invalid value is passed the default language will be installed (English).

DESTINATION="C:\DataFlex 20.1"

Choose a custom location to install DataFlex. The default location is C:\Program Files (x86)\DataFlex 20.1

DESTINATIONEX="D:\Code\Examples 20.1"

Choose a custom location to install the examples. This is used in combination with the MINIMAL or silent options. This option is only supported with the Studio and WebApp Server installations. The default location is C:\DataFlex 20.1 Examples

SKIP_IIS=1

Set this property to 1 to skip configuration and installation of IIS. This option is only supported with the Studio and Web Application Server installations.

NO_EXAMPLES=1

Set this property to 1 to not install the examples. This option is only supported with the Studio and Web Application Server installations.

NETWORK=1

Using this option enables the network installation (only supported for client & server).

NO_LOCALIZED_COLLATE=1

Using this option disables the ‘Install localized collating sequence’ option of the installer. This means that the default collating sequence (English) is installed, regardless of the chosen language.

NO_WEBVIEW2=1

Using this option disables the automatic installation of the Microsoft WebView2 Runtime.

The WebView2 Runtime installer requires an internet connection, so there are cases where skipping this part of the installation is desired. The components of the DataFlex Web Server and Client Engine do not have dependencies on the WebView2 Runtime, so unless your application requires it you can bypass it's installation.

Please note that the DataFlex Studio requires the WebView2 Runtime to support the Start Center, Workspace Dashboard and Web Designer, so this option should not be used with the Studio.

If any application, including the Studio, depends on the WebView2 Runtime and it is not installed, runtime errors are triggered.

/exenoui /qn

The installer will run completely silent without showing a user interface. This option is only supported with the Windows Client and Web Application Server installations. Developers are only permitted to do this when they have special permission from Data Access as this also skips the dialog that accepts the conditions of the DataFlex license agreement. Developers who which to completely embed the Client or Server installation in this mode must provide a mechanism in their application installation that ensures the end user accepts the DataFlex license agreement in a similar fashion .

Note: If using these arguments in conjunction with others, these must be the first arguments on the command line.

/uninstall //

Uninstalls DataFlex. Note that the // is important (and needs to be included). This option can only be combined with the silent and logging arguments.

/L*V "C:\df201install.log"

Makes the installer write out a detailed log file that can be used to assess issues. Customers would be asked to do this when they have problems installing.

 

Examples

Install the server with no examples, minimal interface and Portuguese language files:

"DataFlex 2022 Server 20.1.x.xxx" NO_EXAMPLES=1 MINIMAL=1 DFLANGUAGE=PT

Install the client in completely quiet mode, with a custom location and network accessible:

Note that the quiet option is the first one on the command line and that since this is intended to be accessible by workstations, the DESTINATION should be a shared folder for the network.

"DataFlex 2022 Client 20.1.x.xxx" /exenoui /qn DESTINATION="D:\My Custom Location\DataFlex 20.1" NETWORK=1

 

See Also

Deploying Applications