Installing silently on Windows

Running the silent installer on Windows has different effects depending on whether or not the user has administrator permissions.

If the silent installer is run with administrator permissions, it creates a per-machine installation. Otherwise, it creates a per-user installation. Variables on the command line can be used to override this default behavior.

To install silently on Windows:

  1. From a command prompt, navigate to the directory where you downloaded the installer.
  2. Issue the following command: start /wait mdex_<version>_arch-OS.exe /s TARGETDIR=C:\Endeca\MDEX\<version>

    You can replace C:\Endeca\MDEX\<version> with the location to which you want to install. However, if you set the install location to a non-empty directory or to a drive that does not exist, the silent installation will fail with a non-zero status code.

    Additionally, an administrator can override the default behavior and create a per-user installation by setting ALLUSERS=FALSE.

  3. Optionally, use a file created by the installer to set up the ENDECA_MDEX_ROOT variable.

    Run C:\Endeca\MDEX\<version>\mdex_setup.bat.

    Note: If you changed the TARGETDIR location in step 2, mdex_setup.bat will be located in the directory you specified.

    The files set up the environment variable ENDECA_MDEX_ROOT that the MDEX Engine uses and that points to MDEX\<version>.The script also adds the utilities directory and the MDEX Engine binaries to the search path. The ENDECA_MDEX_ROOT variable is required and must be set for the environment in which the JCD is run. The script itself is optional and provided as a convenience, although it only sets the variables for the current user in the current context. You can also choose to manually set the environment variables as global environment variables.