Installing Virtual Server from the command line

Installing Virtual Server from the command line

For instructions on installing Virtual Server 2005, see Set Up Virtual Server. You can also install Virtual Server from the command line using Msiexec.exe. For more information about Msiexec.exe, see "Command Line Options" at the Microsoft Web site.

Syntax

msiexec.exe {/i|/a} "msifile" [**ALLUSERS=**value] [**PIDKEY=**value] [**SERVICESTARTUPMANUAL=**value] [**WEBSITEDEFAULTPORT=**value] [{**INSTALLDIR=**value|**TARGETDIR=**value}] [ALLUSERS=value] [NOSUMMARY=value] [/qb | /qn | /qr | /qf] [/l logfile]

Parameters

  • /i
    Installs Virtual Server. You can use /x to uninstall Virtual Server.
  • /a
    Applies the administrative installation option. Installs Virtual Server on the network.
  • /q
    Sets the user interface level as shown in the following table.

    Value Action

    q or qn

    No user interface

    qb

    Basic user interface

    qr

    Reduced user interface

    qf

    Full user interface

    For more information about the user interface levels, see "Command Line Options" at the Microsoft Web site.

  • /l logfile
    Specifies the path to the log file.
  • PIDKEY=value
    Specifies the unique product key number required to perform the installation. Do not use dashes when typing the number.
  • SERVICESTARTUPMANUAL=value
    Set to 1 for manual Virtual Server services startup. The default is 0.
  • WEBSITEDEFAULTPORT=value
    Specifies the port for the Administration Website.
  • INSTALLDIR=value
    Specifies a custom folder in which to install the program. If you do not include this parameter, the program is installed in \Program files.
  • TARGETDIR=value
    Specifies a location in which to install the Virtual Server installation package when using the administrative installation (/a) option. The package's data files are uncompressed in this location.
  • ALLUSERS=value
    Determines what users see in the Start menu and in Add or Remove Programs. If ALLUSERS is not set, the installer does a per-machine installation. If ALLUSERS is set to an empty string (ALLUSERS=""), the installer does a per-user installation. In all cases the installer uses folders in the "All Users" profile.
  • NOSUMMARY=value
    If this value is set to 1, the summary page will not be displayed. The /qn option will also suppress the summary page.

Example

The following example shows how to perform an unattended installation and make the program accessible to all users on the computer. An unattended installation means the Setup program runs without prompting you for input.

**Msiexec.exe /i "Virtual Server 2005 Install.msi" PIDKEY=**PID key number /qn

Deploying Virtual Server using Group Policy requires using the administrative installation option (/a) along with the TARGETDIR option. For example:

**Msiexec.exe /a "Virtual Server 2005 Install.msi" PIDKEY=**PID key number **TARGETDIR=**Installation folder's network path /qn

The following table provides a formatting legend for the command-line information.

Format Meaning

Italic

Information that the user must supply

Bold

Elements that the user must type exactly as shown

Ellipsis (...)

Parameter that can be repeated several times in a command line

Between brackets ([])

Optional items

Between braces ({}); choices separated by pipe (|). Example: {even|odd}

Set of choices from which the user must choose only one

Courier font

Code or program output