Running Unattended Setup

Archived content. No warranty is made as to technical accuracy. Content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.

You might prefer to install Microsoft's SharePoint™ Team Services or Microsoft® FrontPage 2002 Server Extensions without any user intervention. During an unattended (or quiet) installation, the user is never prompted to supply information and never sees any messages.

You can perform a quiet installation from the command line for either SharePoint Team Services or FrontPage 2002 Server Extensions. You can run an unattended Setup by itself or as part of a script for distribution across several servers. Any output from Setup is stored in the log file in the Temp directory of the Windows volume.

To perform the unattended Setup, use the setupse.exe command with the /q command-line option. The setupse.exe command relies on settings in a text file, Cfgquiet.ini, to determine which options are incorporated into the Setup. When you run the setupse command, you must specify the path to the Cfgquiet.ini file by using the logfile parameter in the command-line syntax. To specify a quiet install, you would use the following syntax:

setupse.exe /q logfile=<path to cfgquiet.ini>

The settings in the Cfgquiet.ini file can be edited to suit your environment. For example, you can edit Cfgquiet.ini to extend specific virtual servers when SharePoint Team Services is installed, or to specify a database server to use for collaboration data, or to extend the virtual servers with FrontPage 2002 Server Extensions instead of SharePoint Team Services.

You can use any text editor, such as Notepad, to edit the Cfgquiet.ini file. The file is located in the same folder as Setupse.exe and contains all of the default options for Setup.

The Cfgquiet.ini file is divided into Security Settings, Database Settings, and Mail Settings. Basic information, such as the server type, is at the top of the file. The configuration options take the format NAME=value. To change an option, you replace the default value with the value you want. The following example shows the Discussions option set to On:

Discussions=On

The following tables list the configuration options that can be specified in the Cfgquiet.ini file.

Configuration option

Description

NumberOfServers

Specifies how many servers to configure. Accepts a numerical value for example, 1.

IndexServer

Controls whether the indexing service is started automatically. Supported values are On and Off.

VRootMDPath

Specifies the metabase path for Web site to extend (Microsoft Internet Information Services 4.0 or later servers only). For example, /LM/W3SVC/1.

Discussions

Controls whether Web document discussions are available. Supported values are On and Off.

Notifications

Controls whether Web subscriptions are available. Supported values are On and Off.

SiteProvision

Specifies the type of installation you want: SharePoint Team Services with a SharePoint team Web site (SHAREPTHP), SharePoint Team Services with a SharePoint team Web site that preserves the home page if one exists (SHAREPT), SharePoint Team Services with a SharePoint Team Services-enabled blank Web site (COLLAB), or a blank Web site (PUBLISH). Default is SHAREPTHP.

Security option

Description

AdminAccount

Specifies the administrator's account user name. A blank or absent value defaults to the Windows NT® Administrators group.

Database settings

Description

Server

Specifies the SQL Server™ computer name. A blank or absent value defaults to the Windows NT computer name.

DatabaseName

Specifies the name of the collaboration database. The default value is generated automatically from the machine name and the virtual server.

UserName

Specifies the SQL Server user account. A blank or absent value defaults to the SQL sa account.

Password

Specifies the SQL Server user account password. A blank or absent value defaults to a blank password, unless MSDE was recently installed. If that is the case, the default is the password for MSDE.

Mail settings

Description

EmailServer

Specifies the e-mail server to use for Microsoft FrontPage forms and notifications.

AuthorEmail

Specifies the e-mail address of person or alias to contact for assistance stopping or modifying notifications.

ContactEmail

Specifies the Reply To address for e-mail messages sent by SharePoint Team Services.