Share via


Installing Communicator Web Access By Using the Command Line

Topic Last Modified: 2009-03-06

You can install Communicator Web Access (2007 R2 release) from the command prompt. This enables you to use a script or batch file to install the application. Before you can do this, the following software must be installed on the target server:

  • Microsoft Visual C++ Redistributable
  • Microsoft .NET Framework 3.5 Service Pack 1 (installing the .NET Framework requires you to reboot the computer)
  • Office Communications Server Core Components
  • SQL Server Native Client
  • Microsoft Unified Communications Managed API Redistributable

Setup cannot proceed if any of these items are not installed. If you install Communicator Web Access by using the Setup Wizard, the wizard detects any missing components and gives you the option of installing them.

Because of this, you might find it easier to use the Setup Wizard to install Communicator Web Access. However, if these components have already been installed you can use the following command-line procedure to install Communicator Web Access.

To install Communicator Web Access by using the command prompt

  1. Log on to the computer where you want to install the Communicator Web Access snap-in as a member of both the local Administrators group and the Domain Admins group.

  2. Click Start, and then click Run.

  3. In the Run dialog box, type cmd, and then click OK.

  4. At the command prompt, type the path to the Setup\CWA folder on the Office Communications Server 2007 R2 CD, and then press ENTER. For example, if your CD drive is drive F you would type the following:

    cd f:\setup\cwa

  5. Type the following command to install Communicator Web Access:

    CWAMain.msi

    If you would like to create a log file for the installation process then add the /lv switch followed by the file path for the log file. For example, to save a log file as C:\Logs\CWA_Install.txt use the following command:

    CWAMain.msi /lv c:\logs\cwa_install.txt