Editing silent.properties file

In the silent.properties file, you have the following configuration options (presented in four sections) for the silent installation. It runs a windowless installation and no user input is required.
Prerequisites:
  • You have uninstalled the previous version using its uninstall.sh file or you have removed the files manually.
  • You have root admin rights.
 NOTE:
  • By default, the Linux installer does not automatically use the silent.properties file.
  • You can uninstall the previous standard version using its uninstall.sh file or you can remove the files manually. The silent.properties file allows you to configure the installation directory. If you do not change the default configuration settings, the installation will result in a new directory with the applicable Niagara version number. As a consequence, it will not overwrite any existing installation. If you run the Silent Installer a second time on the same device, it will overwrite files.
 
Perform the following steps:
  1. No editing needed in following section of the silent.properties file.
    # Configure options for unattended installation.
    # sudo bash install.sh silent.properties
    
    # The license agreement acceptance is provided by the following "acceptLicense" 
    property.
    # Any value except "yes" will cause the installer to exit.
    acceptLicense=yes
  2. Edit the passphrase in the following section of the silent.properties file if the system passphrase value has not been previously configured on the host.
    # The system passphrase value here is used only if one does not already exist
     on the install target host ID.
    # Your passphrase must contain:
    #  at least 10 characters
    #  at least 1 lower case character
    #  at least 1 upper case character
    #  at least 1 digit
    systemPassphrase=Password10
  3. To override the default installation directory, set the installDirectory to a file path.
    # Set the "installDirectory" to a path to override the default installation directory.
    # Example: installDirectory=/opt/Niagara/Niagara-%version%
    installDirectory=
  4. Review the following section of the silent.installer file.
    # Set "createInstallDirectory" to "true" to create the install directory 
    if it does not exist.createInstallDirectory=yes
    
    # Set "addUsers" to "yes" to configure which users can use Niagara 4.
    addUsers=
    
    # If "addUsers" = "yes", the list of existing users to add to the new group 'niagara' 
    which will have
    # permissions to start/stop/query the platform service, and have desktop and menu icons 
    # installed to thier home directory. User names should be separated by a space character
    users=
    
    # Set "modifySudoers" to "yes" to grant all users in the group 'niagara' 
    permission to start 
    # and stop the niagarad process.
    modifySudoers=no
    
    # Set "installService" to "true" to install the Niagara daemon as a service.
    installService=yes
    
    # Set "installDesktopShortcuts" to "true" to install Linux desktop shortcuts.
    installDesktopShortcuts=yes
    
    # Set "installMenuShortcuts" to "true" to install the Linux menu shortcuts.
    installMenuShortcuts=yes