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.
Note: As a quick overview, in the silent.properties file, you will set the passphrase and installDirectory.
You can uninstall the previous standard version using its uninstall.exe file or with the help of the Windows control
panel. 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.
- No editing needed in following section of the silent.properties file.
Note: By default, the silent.properties file can be set to silentInstall=false because
the Windows installer automatically attempts to use the silent.properties file.
# Configure options for silent installation.
# This will run a windowless installation. No user input is expected.
# Set "silentInstall" to "true" to enable the installation without any user prompts.
silentInstall=false
silentInstallMessage=Proceed with silent installation.
# The license agreement acceptance is provided by the following "acceptLicense" property.
# Any value except "yes" will cause the installer to exit.
acceptLicense=yes
# Setting "showLicense" to "yes" will print out the entire license agreement to the installation console.
showLicense=no
licenseAgreementAccept=Acceptance of the license agreement is assumed when installing silently.
licenseAgreementDecline=License agreement was not accepted.
- 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
systemPassphraseFailureMessage=Error setting System Passphrase caused installation failure.
- Edit installDirectory in the following
section of the silent.properties file.
# Set the "installDirectory" to a Windows path to override the default installation directory.
# Example: installDirectory=C:\Niagara\Niagara-%version%
installDirectory=
installDirectoryNotEnoughSpaceMessage=Insufficient space is available to complete installation.
- Review the following section of the silent.properties file.
# Set "createInstallDirectory" to "true" to create the install directory if it does not exist.
createInstallDirectory=true
createInstallDirectoryDeclineMessage=Creating the install directory was rejected in the configuration.
distFileSizeMessage=Dist file space required
# Set "installService" to "true" to install the Niagara daemon as a service.
installService=true
# Set "installDesktopShortcuts" to "true" to install Windows desktop shortcuts.
installDesktopShortcuts=false
# Set "installMenuShortcuts" to "true" to install the Windows Start menu shortcuts.
installMenuShortcuts=true
installStepCompleteMessage=Completed installation step
installFailureMessage=Installation failed.