User guide - Next Gen Identity Server Installer

This guide describes how to install the Next Gen Identity Server.

Overview

The Next Gen Identity Server Installer is a WiX-based bootstrap executable and underlying MSI. It deploys the Next Gen Identity Server as an IIS application under the Default Web Site. The Next Gen Identity Server is an ASP.NET Core 10 authentication service. It is built on Duende IdentityServer 7 and implements OAuth2/OpenID Connect.

This guide is for Relativity administrators. It covers the installation workflow, supported modes, and installer properties. It also covers the workflows you run immediately after installation.

Deployment options. This guide covers two options. You can install on existing web servers or on dedicated web servers. To prepare your environment, see Pre-Installation Guide. To verify the installation, see Post-Installation Verification. To resolve installation errors, see Troubleshooting Guide.

Installation prerequisites

Install the Next Gen Identity Server on existing or dedicated web servers. On a multi-server deployment, run the installer on each web server. See Product Overview for the deployment options.

Have the following in place before launching the installer. At startup, the installer validates each item. It shows a specific error for anything missing.

Check Required value
Operating System Windows Server 2025 (x64)
.NET Hosting Bundle .NET 10 ASP.NET Core Hosting Bundle installed
IIS IIS 10 or higher, with the Default Web Site present and started
Relativity SecretStore Relativity SecretStore is accessible from each web server. Register dedicated web servers as Secret Store clients before installation.
Service Account Domain or local account with Log on as a service right
Privileges Local administrator on each web server
EDDS database Upgraded to Relativity Server 2026. The upgrade adds the [eddsdbo].[DeploymentLogs] table and [eddsdbo].[SaveDeploymentLog] stored procedure.
Domain name Dedicated web servers only: A domain name. It resolves to the load balancer.

For the complete preparation checklist see Pre-Installation Guide.

Getting started - interactive mode

Use the interactive installer for first-time installs. On a multi-server deployment, repeat these steps on each web server.

Step 1 - copying the installer to the web server

Get Relativity.Server.IdentityService.Installer.exe and the accompanying .msi from the Relativity delivery package or download portal. Place both files in a writable directory on the web server. For example, use C:\Temp\IdentityServiceInstaller\. The path does not matter. The installer writes the log file to the same directory.

Step 2 - launching the installer

Open an elevated PowerShell or Command Prompt window (Run as Administrator). The installer requires administrative rights to write to protected directories. It also registers an IIS application pool and calls into the EDDS database.

Copy
cd C:\Temp\IdentityServiceInstaller
.\Relativity.Server.IdentityService.Installer.exe /log InstallLog.txt

Always pass /log <path> when launching the installer. This is the manual approach for controlling log output. In the wizard, enter the SQL data source and service account. To pass arguments on the command line instead, see Workflow B.

Step 3 - entering the primary SQL data source

The installer dialog prompts for the SQL Server instance hosting the EDDS database. Enter the instance in SERVER\INSTANCE format. For a custom port, use HOSTNAME,PORT format (for example, sqlhost,1435).

Field Value
Primary SQL Data Source SQL Server instance in SERVER\INSTANCE or HOSTNAME,PORT format - for example, sqlhost\EDDSINSTANCE001 or sqlhost,1435

Fresh install: This field is mandatory.

Upgrade: The installer reads the existing value from Relativity Secret Store. Re-enter it only if the SQL Server instance has changed.

Step 4 - providing service account credentials

The installer accepts any Windows domain or local account. The account must have the Log on as a service right. We recommend the Relativity Service Account (RSA) for consistency with the Relativity platform.

Fresh install: Enter the service account credentials. The credential fields are required.

Upgrade: Enter new credentials to update the service account. Leave the fields empty to keep the existing stored credentials.

Field Value
Service Account Username DOMAIN\username (or .\username for a local account)
Service Account Password The account's current password

The field labels in the installer UI say Relativity Service Account. These accept any valid Windows domain or local account. You do not need the Relativity Service Account (RSA). We recommend the RSA for consistency with other Relativity server roles. Any valid account works.

The installer validates the credentials before writing any files. If the credentials are invalid, the install stops at this stage and displays an error.

Step 5 - accepting the license agreement

The bundle UI presents a Welcome screen and an End User License Agreement. Read the agreement and select I agree to the Relativity Identity Service license terms. Click Install.

The license agreement appears on every installer run, including upgrades.

The installer validates prerequisites and deploys the Next Gen Identity Server to IIS. It writes a deployment record to EDDS. This typically takes one to three minutes.

Step 6 - updating the Identity Provider URL

The installer sets the IdentityProviderURL instance setting during installation. The value it writes depends on your deployment option.

Deployment option Value the installer writes Action required
Existing web servers https://<relativity-domainname>/Relativity.IdentityService/. The <relativity-domainname> value is the host name in the RelativityInstanceURL instance setting. None. Confirm the value after installation.
Dedicated web servers https://<servername>/Relativity.IdentityService/. The <servername> value is the name of the local web server. Update the value to https://[domainname]/Relativity.IdentityService/.

The existing web servers option applies to any number of web servers. A load balancer is optional. RelativityInstanceURL is a single value for the instance. The installer therefore writes the same IdentityProviderURL on every web server. Confirm that RelativityInstanceURL holds the address that users enter to reach Relativity. Do not use the name of one web server.

On a fresh install, no IdentityProviderURL value exists. The installer adds the URL without displaying a dialog.

A dialog appears if the existing IdentityProviderURL value differs from the installer value. The dialog reads: An Identity Provider URL already exists: <current URL>. Do you want to update it to <new URL>?

  • Click Yes to replace the existing value.
  • Click No to keep the existing value. For example, click No if the existing value is already your domain name.

In silent mode (/quiet), the installer shows no dialog. It keeps the existing value.

Use either method to enter the domain name for dedicated web servers:

  • During installation: Pass the IDENTITY_PROVIDER_URL property on the command line. See Workflow B.
  • After installation: In Relativity, go to Instance Settings and find IdentityProviderURL. Enter https://[domainname]/Relativity.IdentityService/ as the value. Then restart IIS on all Relativity web servers (iisreset).

The IdentityProviderURL is a single instance setting shared by all web servers. On a multi-server deployment, enter it one time.

Step 7 - finishing

When the Installation Successfully Completed screen appears, click Close.

If an error appears, see the Troubleshooting Guide for the diagnostic steps.

Proceed to Post-Installation Verification to confirm the deployment is healthy.

Common workflows

Use the following workflows based on your deployment scenario.

Fresh install scenarios

Use one of the following workflows for a fresh installation.

Workflow A: interactive install (default)

For first-time installs, use the bundle UI. It guides you through the data source, credentials, and license agreement.

Copy
.\Relativity.Server.IdentityService.Installer.exe /log InstallLog.txt

Workflow B: command-line install with parameters

For unattended or partially-attended deployments, pass MSI properties on the command line. The following table lists the most common properties:

All multi-line command examples in this guide use PowerShell backtick (`) line continuation. Run these commands in PowerShell, not Command Prompt (cmd.exe).

Property Description Example
PRIMARYSQLDATASOURCE SQL Server instance hosting EDDS PRIMARYSQLDATASOURCE="sqlhost\EDDSINSTANCE001"
RELSERVICEACCOUNTUSERNAME Service account username RELSERVICEACCOUNTUSERNAME="<username>"
RELSERVICEACCOUNTPASSWORD Service account password RELSERVICEACCOUNTPASSWORD="<password>"
IDENTITY_PROVIDER_URL Optional. The IdentityProviderURL value to write. Use it on dedicated web servers to enter the domain name during installation. IDENTITY_PROVIDER_URL="https://[domainname]/Relativity.IdentityService/"
/log <file> Write a verbose Windows Installer log /log C:\Temp\InstallLog.txt
Copy
.\Relativity.Server.IdentityService.Installer.exe `
    /log C:\Temp\InstallLog.txt `
    PRIMARYSQLDATASOURCE="sqlhost\EDDSINSTANCE001" `
    RELSERVICEACCOUNTUSERNAME="<username>" `
    RELSERVICEACCOUNTPASSWORD="<password>"

To install on dedicated web servers and enter the domain name together:

Copy
.\Relativity.Server.IdentityService.Installer.exe `
    /log C:\Temp\InstallLog.txt `
    PRIMARYSQLDATASOURCE="sqlhost\EDDSINSTANCE001" `
    RELSERVICEACCOUNTUSERNAME="<username>" `
    RELSERVICEACCOUNTPASSWORD="<password>" `
    IDENTITY_PROVIDER_URL="https://[domainname]/Relativity.IdentityService/"

Workflow C: silent (unattended) install

For automated deployments, suppress the UI. Use /quiet (no UI) or /passive (progress bar only). Examples include configuration management tools and deployment runners.

Copy
.\Relativity.Server.IdentityService.Installer.exe /quiet /log C:\Temp\InstallLog.txt `
    PRIMARYSQLDATASOURCE="sqlhost\EDDSINSTANCE001" `
    RELSERVICEACCOUNTUSERNAME="<username>" `
    RELSERVICEACCOUNTPASSWORD="<password>"

In silent mode, the installer does not replace an existing IdentityProviderURL value. If the value must change, update it in Instance Settings after installation.

The process exit code indicates the outcome:

Exit Code Meaning
0 Installation succeeded
1602 User cancelled (only possible with /passive)
1603 Fatal error during installation - inspect the log
3010 Success, but a reboot is required to complete

Treat exit codes 0 and 3010 as success. Treat any other code as failure.

Multi-server scenarios

Use this workflow to install on more than one web server. You can use your existing web servers or dedicated web servers.

Workflow D: multi-server install

To install on more than one web server:

  1. Complete the Pre-Installation Guide checks on every web server.
  2. Run the installer on each web server. Use Workflow A, Workflow B, or Workflow C. Use the same SQL data source and service account on every web server.
  3. Update the IdentityProviderURL instance setting one time:
    • Existing web servers: Confirm the value is https://<relativity-domainname>/Relativity.IdentityService/.
    • Dedicated web servers: Enter https://[domainname]/Relativity.IdentityService/ as the value.
  4. Restart IIS on all Relativity web servers (iisreset).
  5. Complete Post-Installation Verification on each web server, and then through the domain name.

Upgrade scenarios

Use one of the following workflows to upgrade an existing installation. On a multi-server deployment, upgrade every web server.

Workflow E: upgrade (interactive mode)

Run a newer installer to upgrade the Next Gen Identity Server in place. The installer removes the previous version and installs the new one. Your existing configuration carries over automatically. You do not need to uninstall separately.

Copy
.\Relativity.Server.IdentityService.Installer.exe /log UpgradeLog.txt

To update SQL datasource and service account credentials, pass the following parameters on the command line:

Copy
.\Relativity.Server.IdentityService.Installer.exe /log UpgradeLog.txt `
    PRIMARYSQLDATASOURCE="sqlhost\EDDSINSTANCE001" `
    RELSERVICEACCOUNTUSERNAME="<username>" `
    RELSERVICEACCOUNTPASSWORD="<password>"

Workflow F: upgrade (silent mode)

Run a newer installer to upgrade the Next Gen Identity Server in place. The installer removes the previous version and installs the new one. Your existing configuration carries over automatically. You do not need to uninstall separately.

Copy
.\Relativity.Server.IdentityService.Installer.exe /quiet /log UpgradeLog.txt

To update SQL datasource and service account credentials, pass the following parameters on the command line:

Copy
.\Relativity.Server.IdentityService.Installer.exe /quiet /log UpgradeLog.txt `
    PRIMARYSQLDATASOURCE="sqlhost\EDDSINSTANCE001" `
    RELSERVICEACCOUNTUSERNAME="<username>" `
    RELSERVICEACCOUNTPASSWORD="<password>"

The installer supports major upgrades within the same annual release line. For example: 26.0.x to 26.1.0. The installer does not support downgrades. To roll back, uninstall the newer version and install the older one.

Uninstall scenarios

The service supports two uninstallation modes: interactive and command-line.

Workflow G: uninstallation

Interactive mode

Run the installer bundle with the /uninstall flag to launch the uninstall UI:

Copy
.\Relativity.Server.IdentityService.Installer.exe /uninstall /log UninstallLog.txt

Command-line mode

To uninstall without a UI, add /quiet to suppress all prompts:

Copy
.\Relativity.Server.IdentityService.Installer.exe /uninstall /quiet /log UninstallLog.txt

Uninstalling the service removes the following files and resources:

  • The install directory (C:\Program Files\Relativity Identity Service\).
  • The Identity IIS application pool.
  • The /Relativity.IdentityService IIS application.
  • The SQL data source and service account entries in Relativity Secret Store.

Uninstall also clears the IdentityProviderURL instance setting. This applies only if it still holds a URL that the installer wrote. On existing web servers, this is the shared Relativity domain URL. Uninstalling from any one web server therefore clears it for the whole instance. If other web servers still run the service, enter the value again. Then restart IIS on all Relativity web servers. If you entered a domain name manually, uninstall does not clear it. Clear it yourself when no web server runs the Next Gen Identity Server. See Rolling back to Identity Server 3.

Uninstall writes a final record to [eddsdbo].[DeploymentLogs] with installation_status set to Uninstall Success. If an uninstall step fails, the uninstall stops and shows the error. It also writes Uninstall Failed. Resolve the error and run the uninstall again. Uninstall does not modify any other EDDS database content.

Install verification

After the Installation Successfully Completed screen appears, confirm the deployment is healthy:

  1. Open IIS Manager (press Win+R, type inetmgr, press Enter). Click Application Pools in the left panel and find Identity in the list.

  2. In IIS Manager, expand Default Web Site in the navigation pane. Confirm Relativity.IdentityService appears as a child application at C:\Program Files\Relativity Identity Service\.

    • Success:Relativity.IdentityService appears under Default Web Site.
    • Failure: If Relativity.IdentityService is missing, see the Troubleshooting Guide.
  3. Open a browser and go to https://[domainname]/Relativity.IdentityService/Healthcheck.

    • Success: The page shows All health checks passed.
    • Failure: If the page does not load or returns an error, see the Troubleshooting Guide.
  4. Go to https://[domainname]/Relativity.IdentityService/Diagnostics. The page lists the available tests. A test runs only when you click its button. Click Test Secret Store Settings, then click Test Database Connection. Open API Testing Suite is optional.

    • Success: The Secret Store Settings page shows Successfully retrieved Secret Store settings. The Database Connection Test page shows Successfully connected to database. Both pages show Can Connect: Yes.
    • Failure: If a test shows an error, see the Troubleshooting Guide.
  5. Go to https://[domainname]/Relativity.IdentityService/.well-known/openid-configuration.

    • Success: The page loads and displays configuration data for the Next Gen Identity Server.
    • Failure: If the page does not load, see the Troubleshooting Guide.
  6. In Relativity, go to Instance Settings and find IdentityProviderURL. Confirm the value matches your deployment option:

    • Existing web servers:https://<relativity-domainname>/Relativity.IdentityService/
    • Dedicated web servers:https://[domainname]/Relativity.IdentityService/
    • Failure: The value is missing or incorrect. On dedicated web servers, a single server name is also incorrect. Update it to the correct value. Then restart IIS on all Relativity web servers.

For the full verification matrix, see Post-Installation Verification.

FAQ

Q: Do I need to stop IIS before running the installer? A: No. The installer creates a new application pool. It also creates a new IIS application under the Default Web Site. Other applications running on IIS continue to serve traffic during the install. The installer requires an HTTPS binding on port 443 on that site. All sites on the server share this binding. If other sites use a non-standard port, contact Relativity Support before installing. Do the same if other sites use SNI-based certificate bindings. Support can confirm there are no conflicts.

Q: Can I install the Next Gen Identity Server to a custom directory? A: Yes. The default install directory is C:\Program Files\Relativity Identity Service\. In the interactive installer, the Options page includes an install path field. For silent installs, pass -variable:InstallFolder=<path> on the command line:

Copy
.\Relativity.Server.IdentityService.Installer.exe -variable:InstallFolder="D:\IdentityService" /log InstallLog.txt

We recommend the default path for consistency with Relativity documentation and support guidance.

Q: What happens if a prerequisite check fails? A: The installer halts before writing any files. It shows the specific failure and writes the detail to the log. For example: .NET 10 Hosting Bundle must be installed before installing this product. Resolve the prerequisite and rerun.

Q: Where are the installer logs? A: Without /log, the bundle writes a log to %TEMP%\Relativity_Identity_Service_<timestamp>.log. The underlying MSI always logs verbosely to %TEMP%\MSI*.log. Always pass /log for production installs to control the log file location.

Q: Can the installer be run on a server that already has an older Identity Service? A: Yes - running a newer GA bundle performs an in-place major upgrade. The installer removes the prior version's files and installs the new version.

Q: Does the installer modify the EDDS database schema? A: No. The Relativity Server 2026 EDDS upgrade creates the required tables. It also creates the [eddsdbo].[SaveDeploymentLog] stored procedure. The installer only inserts deployment records through the stored procedure. It also writes the IdentityProviderURL instance setting.

Q: Why does the installer ask for a service account password? A: The Next Gen Identity Server application pool runs under a configured Windows account. The application pool authenticates to SQL Server and Relativity SecretStore using Windows identity.

Q: Can I run the installer over RDP? A: Yes, including the interactive UI. Silent (/quiet) installs also work over WinRM or PsExec - useful for fleet deployment.

Q: The healthcheck endpoint returns 503 right after install. What is causing this? A: The Identity application pool may be stopped. Secret Store may not be configured. Secret Store may not have the EDDS credential or the PrimarySqlDataSource key. See the Troubleshooting Guide for the diagnostic flow.

The following guides cover the complete Next Gen Identity Server deployment lifecycle.

Feedback