Microsoft KB Archive/323655

= Performing an Unattended Installation of SharePoint Portal Server =

Article ID: 323655

Article Last Modified on 2/21/2007

-

APPLIES TO


 * Microsoft SharePoint Portal Server 2001

-



This article was previously published under Q323655



SUMMARY
This article describes how to perform an unattended installation of SharePoint Portal Server 2001 or SharePoint Portal Server 2001 Service Pack 1 (SP1). The &quot;More Information&quot; section of this article contains the following sections:



Generating an Unattend.ini File
You can use the SharePoint Portal Server 2001 Setup program to create an unattended installation file. To create the file, insert your SharePoint Portal Server CD in a computer that SharePoint Portal Server is not installed on, and then use the following syntax (where  is the drive letter of your CD-ROM drive,   is the letter of the hard disk, and file_name.ini is the name of the file that you want to create):



For example, to create a file named Unattend.ini on drive C of a computer on which the CD-ROM drive is drive D, type:

d:\server\setup.exe /CreateUnattend c:\unattend.ini

After you run this command, the SharePoint Portal Server installation wizard starts and prompts you for all of the answers as though you are installing the product. However, after you complete the wizard, only the unattended installation file that you specified is created. SharePoint Portal Server is not installed.

IMPORTANT: If you want to specify the /CreateUnattend switch when you run Setup, make sure that you use a computer that SharePoint Portal Server 2001 is not installed on. If you try to generate an unattended installation file on a computer that SharePoint Portal Server is already installed on, the Setup wizard prompts you to remove or repair the current installation and create unattended installation files for each purpose. WARNING: If you define your SharePoint Portal Server indexing settings while you are running the wizard to create an unattended installation file, the resulting installation file contains the plain text user name and password of the default account that you specify for external crawling. You must store your unattended installation file in a protected area.

Customizing an Unattend.ini File
You can customize the unattended installation file that SharePoint Portal Server Setup generates. You can edit the file with any text editor, such as Microsoft Notepad.exe.

The unattended installation file that Setup generates contains many file paths.

IMPORTANT: Some of these paths must not be changed from their default value. The following paths are all located in the [gfn_mid microsoft sharepoint portal server] section of the unattended installation file. The following paths are the only paths in the file that you can configure. Do not edit any paths that are not in the following list.

InstallDirectory=C:\Program Files\SharePoint Portal Server

Search Gatherer Log Directory=C:\Program Files\SharePoint Portal Server\Data\FTData\SharePointPortalServer\GatherLogs

Search Index Directory=C:\Program Files\SharePoint Portal Server\Data\FTData\SharePointPortalServer\Projects

Search Property Store Database Directory=C:\Program Files\SharePoint Portal Server\Data\FTData\SharePointPortalServer

Search Property Store Log Directory=C:\Program Files\SharePoint Portal Server\Data\FTData\SharePointPortalServer

Web Storage System Database Directory=C:\Program Files\SharePoint Portal Server\Data\Web Storage System

Web Storage System Streaming Database Directory=C:\Program Files\SharePoint Portal Server\Data\Web Storage System

Web Storage System Database Log Directory=C:\Program Files\SharePoint Portal Server\Data\Web Storage System

SharePoint Portal Server 2001 Service Pack 1 Unattended Installation File Paths May Not Match
NOTE: If you generate an unattended installation file to use with SharePoint Portal Server 2001 Service Pack 1 (SP1), the file paths that are defined in the unattended installation file may not match any custom installation paths that were used during the original installation of SharePoint Portal Server. These file paths are not actually used by the SharePoint Portal Server 2001 SP1 Setup. You do not have to change these file paths to match the actual installation paths that were used.

Using an Unattend.ini File
To use your unattended installation file, use the following syntax at a command prompt (where  is the drive letter of your CD-ROM drive,   is the letter of the hard disk, and   is the name of the file that you created):



For example, to run Setup on a computer on which the CD-ROM is drive D, and the unattended installation file is located at C:\unattend.ini, use the following command:

D:\server\setup.exe /UnattendFile c:\unattend.ini