15.6

Table Of Contents
Chapter 4: Installing the Dragon client with settings
Performing an administrative installation with a batch
file
A simple way to install Dragon from the command line is to perform an administrative installation using
a .bat file. A script for performing a full administrative installation is provided in the
admininstall.bat file included with your installer.
Caution: Only advanced administrators should perform an administrative installation.
To run the batch file:
1. Open an elevated command prompt:
l Windows 7: Go to Start > All Programs > Accessories, then right-click
Command Prompt and select Run as administrator.
l Windows 8.1: From the Start screen, click the down arrow to show all apps, and then
scroll to Windows System. Right-click Command Prompt, and select Run as
administrator.
l Windows 10: Go to Start > All apps > Windows System, then right-click
Command Prompt and select Run as administrator.
2.
In your installation folder, locate admininstall.bat and switch to that directory.
3.
Enter admininstall.bat and follow it with the location of Dragon 15.msi. For example:
admininstall.bat "C:\<full_path>\Dragon 15.msi"
Understanding the script in admininstall.bat
Below are some of the lines from the script in the admininstall.bat file, a batch file that
decompresses setup files into a network location for installation using SMS or another service.
Near the top of the batch file are the lines that check the parameters entered and, if the parameter
passed is not acceptable, execute a routine that handles that situation:
:rem //Check and analyze input parameters
if .%1.==.. goto bad_args
If the arguments you pass when you enter the command are acceptable, the batch file sets the
NETWORK_DNS_DIR to the location of Dragon 15.msi:
set NETWORK_DNS_DIR=%1%
When you run the admininstall.bat file, the file installs Dragon using a single line of code:
echo Installing Dragon...
setup.exe /a /s /v"/qb TARGETDIR=%NETWORK_DNS_DIR% /Liwmo!e+ %TEMP%\
admininstall.log"
The above code calls the setup.exe command and passes it:
l
/a Indicates an administrative installation.
l
/s Indicates a silent installation.
l
/v Indicates msiexec options to follow, enclosed in quotation marks. The included options
are:
34