Cisco Unity Connection Installation Guide, Release 1.x
Appendix: Performing an Unattended Software Installation

Table Of Contents

Performing an Unattended Software Installation

Installing Microsoft Updates Unattended

Installing Cisco Unity Connection Unattended


Performing an Unattended Software Installation


You can use the unattended-installation option in the Cisco Unity Connection Server Updates wizard to install, without user intervention, the following software:

Microsoft updates

Cisco Unity Connection

These options are useful if you want to quickly install software on a large number of Connection servers.

This appendix contains the following sections:

Installing Microsoft Updates Unattended

Installing Cisco Unity Connection Unattended

Installing Microsoft Updates Unattended

To do an unattended installation of Microsoft updates, you must either insert a disc containing the Cisco Unity Connection Server Updates wizard into the DVD drive on the Connection server or copy the files to a hard disk on the server. If you try to install from a network drive, Windows Server 2003 displays a message for each Microsoft update. The message, which prompts you to confirm that you want to install software, requires a response and cannot be suppressed.

To Install Microsoft Updates Unattended


From a command prompt or a batch file, run ServerUpdatesWizard.exe with one or both of the following options (note, though, that we recommend against using the second option):

/mspatches

Installs Microsoft updates

/norestart

Not recommended. This option prevents the Server Updates wizard from automatically restarting the Connection server as soon as software installation is complete. Microsoft updates do not take effect until after the server has been restarted.


For example, to install Microsoft updates from a CD in drive H, you would run the following command:

H:\ServerUpdatesWizard.exe /mspatches


Installing Cisco Unity Connection Unattended

To install Cisco Unity Connection on one or more servers unattended, you must first install the software from a command prompt, choose the responses that you want to use on subsequent installations, and record your responses by specifying the applicable command-line options and parameters.

This section contains two procedures: in the first, you record your responses in an answer file during the first installation; in the second, you do subsequent installations by using the answer file. Do both procedures in the order listed.

The unattended-installation option is useful if you want to install Cisco Unity Connection on a large number of servers by using the same installation options. Each set of installation options requires a different answer file, so the feature is less useful if you are installing only a few servers by using the same options.

To Install Cisco Unity Connection and Record Responses in an Answer File


Step 1 Log on to Windows by using an account that is a member of the local Administrators group.

Step 2 From a command prompt, run Setup.exe with the following flags and parameters:

/Record

Enables recording of your responses to the options in Cisco Unity Connection Setup.

/AnswerFile <answer file path and file name>

Specify the location and name of the answer file that will be created. For example:

Setup.exe /Record /AnswerFile C:\Unity.iss

The file name extension must be .iss. If the path or file name includes spaces, the entire path and file name must be enclosed in quotation marks.


Caution Do not specify a location to which the answer file cannot be written (for example, a DVD drive or a network drive on which you do not have write permissions), or Setup will fail.

You must specify a location for the answer file or Setup will return an error.


Step 3 Follow the on-screen prompts.


Do the following procedure to run subsequent installations with the answer file.

To Install Cisco Unity Connection by Using the Responses in an Answer File


Step 1 Log on to Windows using an account that is a member of the local Administrators group.

Step 2 From a command prompt or a batch file, run Setup.exe with the following flags and parameters:

/Silent

Runs Cisco Unity Connection Setup in silent (unattended) mode by using the options specified in the answer file that you created in the "To Install Cisco Unity Connection and Record Responses in an Answer File" procedure.

/AnswerFile <answer file path and file name>

Specify the location and name of the answer file that you recorded in the "To Install Cisco Unity Connection and Record Responses in an Answer File" procedure. For example:

Setup.exe /Silent /AnswerFile C:\Unity.iss

/LogFile <log file path and file name>

Specify the location and name of the log file in which Setup progress is recorded. For example:

Setup.exe /Silent /AnswerFile C:\Unity.iss /LogFile "C:\Log Files\UnitySilentInstall.Log"


Caution Do not specify a location to which the log file cannot be written (for example, a DVD drive or a network drive on which you do not have write permissions), or Setup will fail.

You must specify a location for the log file or Setup will return an error. If the path or file name includes spaces, the entire path and file name must be enclosed in quotation marks.

This log file contains only minimal information on the installation. Setup also creates a directory named UnitySetupLogs and saves more detailed information on the progress of Setup in the file UnitySetup.log.