Silent Installation
- 19 Nov 2024
- 1 Minute to read
- Print
- DarkLight
Silent Installation
- Updated on 19 Nov 2024
- 1 Minute to read
- Print
- DarkLight
Article summary
Did you find this summary helpful?
Thank you for your feedback
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.
- Open DecisionsInstaller.exe and step through the installation wizard, entering the settings for the silent install to use.
- At the very end of the installation wizard, set Save Install Settings To File to true.
- Uncheck Encrypted Settings File. This new file can now be used to install Decisions from the command line with the updated settings.
- Run the Decisions installer via the command line like this:
- cd "path to your directory containing the installer and InstallerSettings.xml"
- .\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. - 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?