Running the Enterprise Configuration Script

After generating the Configuration Input File by running the Input File Builder or creating the file manually, run the Enterprise Configuration Script, Config.ps1, using PowerShell. The configuration script is located in the %PROGRAMFILES(X86)%\NCR\DSREnterprise\Utilities folder. During installation, this script will be run on the Web (API), Application, EOM, and ETS servers.

Note

Users following the advanced configuration process can also configure the Messaging/RabbitMQ Server using the Enterprise Configuration Script if they have already manually created or edited the Configuration Input File.

Prerequisites

  • The Configuration Input File has been copied to the enterprise servers where the Configuration Script will be run.
  • If using a secure/encrypted input file, the certificate used for the encryption has been installed on the servers where the Configuration Script will be run.

If you haven’t completed this prerequisite, copy the input file to and install the certificate on the following servers: Web (API) Server, Application Server, EOM Server, and ETS server.

By default, the configuration file is named either configInputSecure.json or configInputUnsecure.json, but these files can take any name. The certificate will have the name provided during creation and a .pfx file extension.

This task uses the following file.

File nameLocation
Config.ps1%PROGRAMFILES(X86)%\NCR\DSREnterprise\Utilities

To run the Enterprise Configuration Script, follow these steps:

  1. Open a Windows PowerShell window with elevated privileges.
  2. Change directories to the Utilities folder. In the following example, replace drive C with the drive where Advanced Store is installed.
    Copy

    PowerShell

    PS> cd "C:\Program Files (x86)\NCR\DSREnterprise\Utilities"
     
  3. From the Utilities folder, run the configuration script using the following syntax:

    .\Config.ps1 .\<config filename>

    Example
    Copy

    PowerShell

    .\Config.ps1 .\configInputSecure.json