Silent Installation MFT Server - Windows

Top  Previous  Next

This section describes how to perform a silent installation of the MFT Server application on a Windows platform. The part of the installation that is silenced is the user Interface (interactive portion). The installer must be placed on the target MFT Server system, in a directory of your choosing. You must also have your MFT Server license file available, as it will need to be copied to the target directory.

Below is a list of Windows CMD commands used to perform a silent installation. Please run them in the order in which they are listed. They can be run in a .cmd script. The script should be "run as administrator".

Command: cd\<MFT Server installer location>

This command changes the directory to the location of the MFT Server installer. The location depends on what directory the installer was placed in by the end-user.

Example: cd\InstallerDirectory

Command: <MFT Server installer> -q -dir <Installation Directory>

This command runs the installer (executable file) and copies the installation files into the installation directory specified.

Example: mft-server-install-x64-12.3.4916.exe -q -dir "c:\Program Files\MFT Server"

Note: Program Files\MFT Server is the default installation directory when performing an interactive installation. You can specify a different directory, if desired. Quotes must be used when the installation directory name contains spaces.

Command: cd\<Installation directory>

This command changes the directory to the installation directory specified in the prior command.

Example: cd\Program Files\MFT Server

Command: copy c:\<LicenseFileDirectory>\<licenseFile.lic> c:\<Installation directory>\etc\license.lic

This command copies the MFT Server license file to the installation directory’s etc subdirectory. The source directory will depend on where the end-user placed the license file.

Example: copy c:\InstallerDirectory\licensefile.lic "c:\Program Files\MFT Server\etc\license.lic"

Note: The license file name must be license.lic in the target directory or the MFT Server service will not start. Also note that in this example, the user placed the license file in the same directory as the MFT Server installer. As a final note, quotes must be used in the copy command when the target directory name contains spaces.

Command: js-database-configuration.exe -configure

This command configures the MFT Server database, which by default will use the built-in H2 database, if a custom database is not specified. The built-in H2 database is for evaluation purposes only and is not to be used in a production environment. Therefore, only run the above command as-is when configuring an MFT Server evaluation environment. To configure a custom database for your production environment (such as MySQL, MS SQL Server or Oracle), use the following command:

js-database-configuration.exe -configure -url <DB_URL> -user <db_username> -password <db_password>

Example: js-database-configuration.exe -configure -url jdbc:mysql://localhost:3306/server -user DBUser -password secret

Command: js-database-configuration.exe -init

This command initializes the database.

Command: js-addadmin.exe -db -username <user name> -password <password> -sa

This command adds an MFT Server administrator account to the MFT Server database.

Example: js-addadmin.exe -db -username Admin -password secret -sa

Command: js-web-configuration.exe -host <host/IP> -port <port> -timeout <sec>

This command configures the host/IP and port used for the web-based administrative service in MFT Server. If this command is not run, the host will default to localhost, and the port will default to 11880.

Example: js-web-configuration.exe -host 127.0.0.1 -port 11880 -timeout 60

Note:  When logging into the MFT Server web-based administrative service, use the administrative account created using the js-addadmin.exe command previously described.

Command: start_service

This command starts the MFT Server service.

Note: During an interactive MFT Server installation, you have the option to allocate a maximum amount of memory used by the MFT Server application.  This option is not available when installing MFT Server silently. If you wish to set this amount, please see the memory tuning section of the documentation.

See Installing on Windows - Configure Data Store for more details regarding the above configuration options (e.g. database, admin account, port, etc.).

 





Home | Company | Products | Solutions | Purchase | Support | Services | Blog

© 2023 Redwood Software, Inc.