MORE INFORMATION
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
CD-ROM_drive is the drive letter of your CD-ROM drive,
hard_disk is the letter of the hard disk, and
file_name.ini is the name of the file that you want to create):
CD-ROM_drive:\server\setup.exe /CreateUnattend hard_disk:\file_name.ini
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
CD-ROM_drive is the drive letter of your CD-ROM drive,
hard_disk is the letter of the hard disk, and
file_name.ini is the name of the file that you created):
CD-ROM_drive:\server\setup.exe /UnattendFile hard_disk:\file_name.ini
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
References
For additional information about troubleshooting the installation of SharePoint Portal Server, click the article number below
to view the article in the Microsoft Knowledge Base:
290734 Setup FAQ and Troubleshooting Guide