Installation Guide
  • 07 Oct 2022
  • 6 Minutes to read
  • Dark
    Light

Installation Guide

  • Dark
    Light

Article Summary

Upgrading from v6 to v7?
Please review the Upgrading Decisions (v6 to v7) article for IMPORTANT CONSIDERATIONS.
Version 7.x .NET Architecture Change:
Versions 7.0.1 - 7.1 require .NET Core 3.1
Versions 7.2 - 7.9 require .NET 5
Versions 7.10+ require .NET 6

Impact on Upgrades: 

  • ALL custom libraries will need to be recompiled for the new .NET architecture.
  • Custom assemblies will need to be re-written.
  • Modules may require reinstallation or design refactoring.

This article serves as a guide on how to install the Decisions platform on an App Server or PC.  

While this example installs a self-hosted instance with an MS SQL database connection, configuration for the other supported databases: AWS, Azure, and Postgres, are also detailed.

Prerequisites

  • Download and install the latest .NET 6 Runtime (x64).
  • Download and install the latest .NET 6 Hosting Bundle.
  • Select the desired version from the Download Decisions webpage.

Selecting Installation Type 

  1. Right-click the downloaded DecisionsServerInstaller.exe and select Run as administrator.
  2. Click INSTALL to begin.
  3. Review the terms, check the I accept the terms of the License Agreement box, then click Next.
  4. In the Select Installation Type window, choose the appropriate type. If necessary, enable Show Advanced Settings then click Next.

    Refer to the chart below for further information on each installation type:
    TypeDescription
    Free Trial InstallationThis Server type allows prospective customers to install a 14 day free cloud trail with an Enterprise license. Users experiment with all Decisions features with that timeframe.

    An extension can be requested by contacting a sales representative. 
    Standard ServerThe most common Server installation type.

    Installs an instance for both Production i.e live and Non-Production i.e. development purposes. Allow other machines to access the server.
    Personal ServerThis Server type is strictly a local installation. Use this Server Type to build and test Flows, Forms, Rules, Reports, and Pages that need to be published.

    This Server type blocks other machines from accessing the environment.
    Failover (HA) ServerInstalls an instance that only lives once triggered after the primary instance shuts down.

    Once installed, it will be available but will not run jobs or events on startup.
    Designer Repository
    Installs an instance for storing entities and managing version builds and releases.

    It does not run live applications.

    Expand the Advanced Settings box to view all advanced settings and their functions.


    Advanced Settings

    SettingDescription
    Use Settings FileEnables a field to select a previously saved Settings file.
    Install Emergency Password Reset ToolInstalls a command prompt tool for resetting user passwords.
    Change Default System Administrator, Username and PasswordChanges the default administrator email and/or password (admin@decisions.com / admin).
    Change Destination Folder for InstallationChanges the default installation location from C:\Program Files\Decisions.
    Pick Alternate SourceSelect an alternate installation file source via URL or file directory.
    Show the Service SettingsCustomizes the Service account username and password.
    Allow Dynamic Resource Loading (Local Module)Allows the system to store and load sources from local modules.
    Skip DB Connection Testing - Not RecommendedSkips the database connection test at the end of the installation wizard.






Database Setup

The Application Server and Database Server need to be set to the same Time-Zone.

MSSQL Connection

  1. Select MS SQL for Database Type.
  2. Under Connection Type, select Basic and enter the corresponding database server and name in DB Server and DB Database respectively.

    If the database server does not exist, the platform installer will attempt to create it for MSSQL connections.
  3. Under Connection Settings, select MS SQL Server Security and enter the appropriate User ID and Password. Click Test to verify a successful database connection.

    Alternatively, MSSQL installations may optionally use Windows Integrated Security for added security.
  4. Click Next to proceed.



AWS Connection

Prerequisites

  • Create an AWS RDS Database for Microsoft SQL Server. Select either a SQL Server SE or SQL Server EE engine. Refer to Installation Requirements for specifications.
  • Launch an EC2 instance.
  • Configure the RDS Security Groups and/or VPC to allow SQL connections from the internal IP address of the EC2 application server. Add an inbound rule for the security group to allow MSSQL from EC2 instance's internal IP address.

Setup

  1. Select MS SQL for Database Type.
  2. Under Connection Type, select Basic. For DB Server, enter the endpoint address of the RDS instance. and DB Database respectively. For DB Database, enter the desired name e.g. "decisions".
  3. Under Connection Settings, select MS SQL Server Security. Enter the specified master Username and Password for the created RDS database in UserID and Password respectively.
  4. Click Next to proceed.



Azure Connection

Prerequisites

Setup

  1. Select Azure SQL for Database Type.
  2. Under Connection Type,  select Basic and then provide the Azure DB Server's Public Address and the database server's name in DB Server and DB Database respectively.
  3. Under Connection Settings, select MS SQL Server Security, then provide the appropriate User ID and Password for the Azure Admin. Click Test to verify a successful connection.
  4. Click Next to proceed.



Postgres Connection

Prerequisites

  • Download Postgres v12 or 13. Keep the default UserID/Username aka "postgres" for Decisions to properly query Postgres. 
  • In Postgres, create a new database for Decisions. Upgrading from SQL is not supported, so a new database is required.

Setup

  1. Select PostgreSQL for Database Type.
  2. Under Connection Type, choose Basic and then enter "localhost" for the DB serverthe created Postgres database for DB Database, and "5432" for DB Port. This is the default port number for Postgres databases.
  3. Under Connection Settings, select PostgreSQL Server Security. 

    Enter the default Postgres user credentials aka "postgres" and its respective password.

    Click Test to verify a successful connection.
  4. Click Next to proceed.





Hosting Options

  1. Review the Full Text Warning, then click Next.
  2. From the Hosting Options window, select either Self Hosting or IIS Hosting, then click Next. 

Self Hosting Setup

  1. From the Portal Base URL screen, provide a Domain Name, and if applicable, select the desired HTTP/HTTPS configuration with Certificate path and Password.

    This example keeps the default values ("http://localhost: 80"). Different ports must be opened via Windows Firewall first. Click Next.


IIS Hosting Setup

  1. Provide the Portal Base URL, then click Next. 
  2. In the Web Application window, select Create New under Application Pool. This automatically creates the Decisions Application Pool then click Next.

Preexisting Application Pool Error Handling

In the occurrence of the Application Pool Error, follow the brief guide below:

  1. Open IIS Manager and select Application Pools within the Connections panel.
  2. In the Application Pools panel, right-click Decisions, then select Basic Settings.
  3. Change .NET CLR version to No Managed Code.
  4. Click the Back button in the Decisions Installer, then click Next to refresh the AppPools list.
  5. In the WebApplication window, then click Next to proceed. Verify that that installation can continue.


Email Server, Encryption Keys, and File Storage

  1. Select an Outbound Email Server option.

    For local installs, select SMTP Direct Server. To specify a mail server address, select SMTP Server. Click Next once done. 
  2. In the Encryption Keys window, the installer will detect any existing encryption keys on the connected database. A prior key and its data can be restored via the Restore Key File by entering its key value.

    For a fresh installation and if not wishing to restore any existing keys, select Next to continue. Even if keys are found, restoring is optional.

  3. In the File Storage window, specify where Decisions will store files such as logs, documents, etc for the server. Assuming the default installation location was not changed earlier via the Advanced Settings, the default file storage location is C:\Program Files\Decisions\FileStorage. 

    Confirm the location and then select Next once done.

  4. Review/correct any warnings in the System Requirements Check before clicking Next to proceed.

    Local PC installations may run into an OS warning, but this does not prevent a successful installation. Production environments need Windows Server OS

  5. The Review Install Options panel summarizes the install selections. To save these settings for future reference or recovery, click the Save Install Settings To File checkbox before clicking Next.
  6. As installation continues, click Show Details to see the installation progress.
  7. When the installation completes, click Finish to close the Installation Finished window.
  8. When Decisions launches, from the Login screen, click on the Decisions Software License Agreement link. 
  9. Review the Terms of Service, then click CLOSE. 
  10. Click the I agree to the terms and conditions... checkbox, then log in to the platform by providing the admin Username and Password, and clicking the LOGIN button. By default, these values are "admin@decisions.com" and "admin"

    This can be changed during installation via the Change Default System Administrator, Username and Password setting shown in step 4's Advanced Settings table.

Updating the License

Upon the first login, a popup may appear in the top-right corner informing the user of the date of license expiration. 

In the event of this message, contact support@decisions.com and request the appropriate license for the corresponding Server Type.

Administrators can check when the license expiration date at any time by viewing the System Information Page in the System folder.

For more information on how to obtain and apply a license key, please reference the Self Servicing License Guide.


For further information on Installation, visit the Decisions Forum.

Was this article helpful?