NextGen Knowledge Center

Example Preference Files for Console and Quiet Mode

This topic takes you through examples of varfiles for the console and the quiet mode.

Enter the license key here and use strExtArray to list Mirth® Connect extensions for the installer to download. You must manually install the third-party extensions after the installation. You can use the following varfile examples as default values in console or command-line mode and the actual values in quiet mode. When in console or command-line mode, the strExtArray is ignored.
Operating SystemExampleNotes
Windows®
dir.appdata=C\:\\ConnectBuilds\\MC46testq
dir.logs=C\:\\ConnectBuilds\\MC46testq
http.port.new$Long=8081
https.port.new$Long=8444
installServiceAction$Boolean=false
key=XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX-XX
strExtArray=ldap,auth,cures,enhancement
password.minlength.new$Long=0
password.minlower.new$Long=0
password.minnumeric.new$Long=0
password.minspecial.new$Long=0
password.minupper.new$Long=0
showFileAction$Boolean=false
sys.adminRights$Boolean=true
sys.component.1357$Boolean=true
sys.component.2047$Boolean=false
sys.component.31$Boolean=true
sys.component.33$Boolean=false
sys.installationDir=C\:\\ConnectBuilds\\MC46testq
sys.languageId=en
sys.programGroupAllUsers$Boolean=true
sys.programGroupDisabled$Boolean=false
sys.programGroupName=Mirth Connect

Colons, slashes, and spaces must be escaped. Because the default in Windows® is ‘Program Files' which contains a space, a varfile is required to omit the space.

If the user wants to install Mirth® Connect in the Program Files directory, they need to use the old DOS machine method as shown below:

C\:\\Progra~1\\mirthconnect

The key in the varfile must be blank or valid for the installer to work in quiet mode.

MacOS
dir.appdata=/opt/mirthconnect/appdata
dir.logs=/Applications/Mirth Connect/logs
http.port.new$Long=8080
https.port.new$Long=8443
installServiceAction$Boolean=false
key=XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX-XX
strExtArray=email,alert,ldap,auth,cures,enhancement
password.minlength.new$Long=0
password.minlower.new$Long=0
password.minnumeric.new$Long=0
password.minspecial.new$Long=0
password.minupper.new$Long=0
showFileAction$Boolean=false
sys.adminRights$Boolean=true
sys.component.1357$Boolean=true
sys.component.2047$Boolean=false
sys.component.31$Boolean=true
sys.component.33$Boolean=false
sys.installationDir=/Applications/Mirth Connect
sys.languageId=en
sys.programGroupDisabled$Boolean=true

The key in the varfile must be blank or valid for the installer to work in quiet mode.

Linux
dir.appdata=/Applications/Mirth Connect/appdata
dir.logs=/Applications/Mirth Connect/logs
http.port.new$Long=8080
https.port.new$Long=8443
installServiceAction$Boolean=false
key=XXXXXX-XXXXXX-XXXXXX-XXXXXX-XXXXXX-XX
strExtArray=email,alert,ldap,auth,cures,enhancement
password.minlength.new$Long=0
password.minlower.new$Long=0
password.minnumeric.new$Long=0
password.minspecial.new$Long=0
password.minupper.new$Long=0
showFileAction$Boolean=false
sys.adminRights$Boolean=true
sys.component.1357$Boolean=true
sys.component.2047$Boolean=false
sys.component.31$Boolean=true
sys.component.33$Boolean=false
sys.installationDir=/Applications/Mirth Connect
sys.languageId=en
sys.programGroupDisabled$Boolean=true

Spaces are not allowed in the directory paths.

The key in the varfile must be blank or valid for the installer to work in quiet mode.