Microsoft KB Archive/923590

= How to customize the installation location when you install SharePoint Server 2007 from the command line =

Article ID: 923590

Article Last Modified on 5/14/2007

-

APPLIES TO


 * Microsoft Office SharePoint Server 2007

-



INTRODUCTION
This article discusses how to customize the installation location when you run the Setup program to install Microsoft Office SharePoint Server 2007 from the command line.



MORE INFORMATION
To customize the installation location for SharePoint Server 2007, modify the Config.xml file to include the following INSTALLLOCATION parameter:



Note  is the path of the folder where you want to install SharePoint Server 2007. For example, if you want to install SharePoint Server 2007 to the C:\Test folder,  is C:\Test.

SharePoint Server 2007 includes different Config.xml files for different types of configurations. Each Config.xml file is located in the following folder of the SharePoint Server 2007 installation source, depending on the edition of SharePoint Server 2007 that you have:
 * x86\Files\
 * x64\Files\

Note  is the name of the folder that represents the type of configuration. For example, the configuration may be represented by the SetupFarm folder or the SetupSilent folder.

The following is an example of a Config.xml file from the x86\Files\SetupSilent folder that has been modified to include the INSTALLLOCATION parameter. In this example, SharePoint Server 2007 is installed to the C:\Test folder.              <Display Level=&quot;none&quot; CompletionNotice=&quot;no&quot; /> <PIDKEY Value=&quot;PID&quot; /> <Setting Id=&quot;SERVERROLE&quot; Value=&quot;SINGLESERVER&quot; /> <Setting Id=&quot;USINGUIINSTALLMODE&quot; Value=&quot;0&quot; /> </Configuration>

Customize the installation location, and then install SharePoint Server 2007 from the command line
Modify the Config.xml file, and then run the Setup program to install SharePoint Server 2007 from the command line. To do this, follow these steps: <ol> <li>Copy the folder that contains the SharePoint Server 2007 installation files to the root of the drive on the server.</li> <li>Modify the appropriate Config.xml file. To do this, follow these steps: <ol style="list-style-type: lower-alpha;"> <li>Start Notepad, and then open the Config.xml file that you want to modify.</li> <li>Add the following line, where  is the path of the folder where you want to install SharePoint Server 2007:

<INSTALLLOCATION Value=&quot; &quot; />

</li> <li>Save and then close the Config.xml file.</li></ol> </li> <li>Start a command prompt, and then change to the folder that contains the SharePoint Server 2007 installation files.</li> <li>Type the following line at the command prompt, and then press ENTER:

setup.exe /config

Note  is the path of the Config.xml file. For example, if you modified the Config.xml file in the C:\x86\Files\SetupSilent folder, type the following:

setup.exe /config C:\x86\Files\SetupSilent\Config.xml

</li></ol>

Additional query words: moss moss2007 set up

Keywords: kbhowto kbinfo kbexpertiseinter KB923590

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.