DAI Silent Install, Upgrade, or Uninstall on Windows
This page provides step-by-step instructions on how to run an Eggplant DAI install, upgrade, or uninstall silently on Microsoft Windows. We use the term "silent" to describe the process of performing these tasks from the command line without user input through a graphical user interface (GUI). The silent method is useful if you are automating the installation of DAI or if you only have command-line access to a machine.
DAI support for the silent install, upgrade, and uninstall processes is available in DAI version 7.4 and later.
How Silent Install Works
Our DAI silent install uses the same installer as our regular Setup program, but instead of being prompted to enter configuration information in the Setup program panels, you provide values for the configuration settings up-front in an ini
file that the installer reads when it runs. With this in mind:
-
Be sure to read the following: Prerequisites, Install or Upgrade, Post-Installation Configuration, first login and licensing is also the same as a regular install.
-
If you are upgrading, make sure you back up your files.
Unlike a regular install, there is less of a distinction between a Standard Install versus an Advanced Install. We'll show you how to replicate a standard install silently by not populating some settings with values.
Silent and regular installs and upgrades are equivalent, so you could install silently and upgrade graphically or vice versa, the same goes for uninstalls.
Install or Upgrade Eggplant DAI Silently
The Eggplant DAI Windows installer supports:
- Fresh installations
- Incremental upgrades from the previous supported version (see Release Notes for a full list of supported versions).
Downgrades are not supported.
Step by Step: Running Your Silent Install
Use these instructions for a fresh installation or to upgrade an existing DAI installation.
-
If this is an upgrade, you will need to stop the DAI Windows service before installing.
-
Create a
silent.ini
file in your DAI data folderC:\ProgramData\Eggplant\Digital Automation Intelligence\silent.ini
.ノートIf this is a fresh installation, you need to create the
C:\ProgramData\Eggplant\Digital Automation Intelligence
directory. DAI runs under thelocal system
account in Windows so you must make sure this account has permission to write to theDigital Automation Intelligence
directory. -
Populate the
silent.ini
file with configuration settings, see Silent Install Configuration Settings below. -
Launch a command shell with administrative privileges. For example, click the Windows Start menu, type
CMD
into the Search box, right-click Command Prompt, and select Run as Administrator from the context menu.ノートWe recommend running the installation with administrator permissions (Run as Administrator as described in the step above) to ensure DAI is installed with the correct permissions.
-
Run the installer from the command prompt with the following command or use the command in a batch file for automated installations:
<file path to >eggplantDAI-<version>.exe /VERYSILENT /SUPPRESSMSGBOXES /NORESTART /LOG="C:\ProgramData\Eggplant\Digital Automation Intelligence\install.log"
where
<file path to>
is the file path to the DAI Server installer executable andeggplantDAI-<version>.exe
is the version of the installer that you downloaded and are running. The/VERYSILENT
flag specifies this is a silent-type install,/SUPPRESSMSGBOXES
specifies that no message boxes are displayed, and/NORESTART
specifies that the installer should not automatically restart the host Windows machine. Note that restarting the Windows host machine after the install is required. Using the/NORESTART
flag puts you in control of the restart.ノートThe installer can take quite a while to run, but it does not report status to the command shell. You can, however, monitor the progress of the install by looking at the
install.log
file, which outputs details of the installer's progress. The installer also reports any issues that it encounters to the log file. For example, if your configuration file contains an invalid value, the installer reports the issue to the log file. Near the end of the process, you will see limited activity in the log file for up to 10 minutes while the DAI service launches and any upgrade migrations run. -
When the install completes, you should see a message in the install log that says
Startup report written to C:\ProgramData\Eggplant\Digital Automation Intelligence\logs\startup_service.html
. This DAI Windows Service Start-up Report will list the services that started successfully. You will know the installation succeeded when you see the DAI services are started successfully in the Start-up Report. Any error that occurs during start-up is also detailed here to help you troubleshoot. -
Reboot the machine to finish the installation process. This is necessary because we used the
/NORESTART
setting in our installer command, which specifies not to automatically reboot Windows.