Silent Installation
  • 19 Feb 2024
  • 1 Minute to read
  • Dark
    Light

Silent Installation

  • Dark
    Light

Article Summary

Overview

Decisions installations can be done using the command line. This allows for silent automated installations. 

Please Note: A secondary database connection CANNOT be set up for silent installations. 
A secondary database MUST be set up AFTER a silent installation by editing the settings.xml file. Please navigate to the Setting a Fail-over Connection String article for more details on setting up the secondary database after the silent installation.

Example

Before performing a silent installation create an InstallerSetup.xml file. This is done using the DecisionsInstaller.exe. 

  1. Open DecisionsInstaller.exe and step through the installation wizard, entering the settings for the silent install to use. 
  2. At the very end of the installation wizard, set Save Install Settings To File to true. 
  3. Uncheck Encrypted Settings File. This new file can now be used to install Decisions from the command line with the updated settings.
  4. Run the Decisions installer via the command line like this: 
    1. cd "path to your directory containing the installer and InstallerSettings.xml"
    2. .\DecisionsServerInstaller.exe "path to InstallerSetup.xml"

    A custom Database ID can be set while performing a silent installation.
     
    In the command prompt enter:
    DecisionsServerInstaller.exe "C:\Path\To\InstallerSettings\InstallerSetup.xml" /databaseid AnyId123

    Once the install is finished, a databaseid.txt file will be written to C:\Program Files\Decisions\Decisions Server with the ID that was used.

  5. Running this command will install Decisions using the settings configured in the InstallerSetup.xml file. 

Other Notes

The default name created by the Decisions installer is InstallerSetup.xml, but the file can have any name, as long as the format is correct. 

Save the file to a machine and you will have all the configuration values needed by the installer available for future use.

On upgrades copy the .xml file into the directory with the DecisionsInstaller.exe and the DesicionsServer.msi files and you can run the installation process silently.


Was this article helpful?