04.03.2013 Views

Dragon NaturallySpeaking 12 Administrator Guide - Nuance

Dragon NaturallySpeaking 12 Administrator Guide - Nuance

Dragon NaturallySpeaking 12 Administrator Guide - Nuance

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Chapter 5: Installing <strong>Dragon</strong> using the Windows installer (MSI)<br />

Carrying Out an Administrative<br />

Installation with .bat File<br />

A straightforward way to install <strong>Dragon</strong> from the command line to a server is to carry out an administrative<br />

installation using a .bat file.<br />

Caution: Only advanced administrators should attempt any type of administrative installation.<br />

Note: A script for carrying out a full administrative installation is provided in the admininstall.bat<br />

file at the top of the directory structure on the DVD. The script includes a bare minimum of the<br />

options available, so you might want to read through the Installation using the <strong>Dragon</strong> command<br />

line to find out about other options you might use.<br />

Understanding the script in admininstall.bat<br />

Below are some of the lines from the script in the admininstall.bat file, a batch file that de-compresses<br />

setup files into a network location for installation using SMS or another service.<br />

To run the batch file, you enter admininstall.bat and follow it with the location of the <strong>Dragon</strong> .msi<br />

file.<br />

Near the top of the batch file, you see the lines that check the parameters entered and if the parameters<br />

passed are not acceptable, execute a routine that handles that situation:<br />

:rem //Check and analyze input parameters if .%1.==.. goto bad_args if<br />

.%2.==.. goto bad_args if .%3.==.. goto bad_args<br />

If the arguments you pass when you enter the command are acceptable, the batch file sets the<br />

NETWORK_DNS_DIR to the location of the <strong>Dragon</strong> .msi file:<br />

set NETWORK_DNS_DIR=%1%<br />

When you run the admininstall.bat file, the file installs <strong>Dragon</strong> using a single line of code that calls<br />

the setup.exe command and passes it:<br />

n /a option — Indicates administrative install<br />

n /s option for a silent no-GUI installation<br />

n /v option to indicate msiexec options follow, enclosed in quotation marks<br />

When you perform a silent installation of <strong>Dragon</strong>, the installation process does not display any<br />

messages. To view installation messages, administrators should view the setup log.<br />

The msiexec options with /v include /qb for display of a basic GUI during the process, the TAR-<br />

GETDIR setting, and a /L with a series of log file options, including the name and location for<br />

the log file:<br />

echo Installing <strong>Dragon</strong> <strong>NaturallySpeaking</strong>... setup.exe /a /s /v"/qb TAR-<br />

GETDIR=%NETWORK_DNS_DIR% /L*v %TEMP%\admininstall.log"<br />

141

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!