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"