How do I automate MOVES installation (for example, with Microsoft Endpoint Manager)?
The MOVES installer typically requires user interaction to make various selections. However, if the default installation options are acceptable for your needs, the installer can be run without user interaction on the command line using the /VERYSILENT flag.
If this is a first time installation you will need to create the data directory before installing MOVES in your SCCM script:
Please add the following directory: 'C:\ProgramData\MariaDB\MariaDB 10.11\data\'
If, when running silently, the MOVES installer is not correctly detecting the MariaDB service that you wish to use (and you do not want the MOVES installer to set up a new version of MariaDB with all default options), you can explicitly set the MySQL client, port number, and root password with the following command line arguments (replacing the sample values with the correct values): /mysqlexe=\path\to\mysql.exe /mysqlport=3306 /mysqlrootpass=password /VERYSILENT
Note that MariaDB comes with both “mariadb.exe” and “mysql.exe” as client executables, but the /mysqlexe flag is specifically looking for the “mysql.exe” executable. If you pass the path to “mariadb.exe”, the MOVES installer will fail to correctly identify the MariaDB service.
If you wish to install MariaDB with a non-default configuration while installing MOVES silently, you will need to manually install MariaDB first, before running the MOVES installer. To do so, download a MariaDB 10.11.5 or newer installer from Download MariaDB Server (note that MariaDB 11 is not a long-term stable release as of October 2023) and follow the installation instructions to silently install MariaDB.
After installing MariaDB, run the MOVES installer using the flags listed above so that it can correctly identify the newly installed MariaDB service.