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:
<INSTALLLOCATION Value="Path
" />
Note Path
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, Path
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\
SetupFolderName
- x64\Files\
SetupFolderName
Note SetupFoldername
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.
<Configuration> <Package Id="sts"> <Setting Id="LAUNCHEDFROMSETUPSTS" Value="Yes" /> <Setting Id="REBOOT" Value="ReallySuppress" /> <Setting Id="SETUPTYPE" Value="CLEAN_INSTALL" /> </Package> <Package Id="spswfe"> <Setting Id="SETUPCALLED" Value="1" /> <Setting Id="REBOOT" Value="ReallySuppress" /> <Setting Id="OFFICESERVERPREMIUM" Value="1" /> </Package> <INSTALLLOCATION Value="C:\Test" /> <Logging Type="verbose" Path="%temp%" Template="Office Server Setup(*).log" /> <Display Level="none" CompletionNotice="no" /> <PIDKEY Value="PID" /> <Setting Id="SERVERROLE" Value="SINGLESERVER" /> <Setting Id="USINGUIINSTALLMODE" Value="0" /> </Configuration>
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:
- Copy the folder that contains the SharePoint Server 2007 installation files to the root of the drive on the server.
- Modify the appropriate Config.xml file. To do this, follow these steps:
- Start Notepad, and then open the Config.xml file that you want to modify.
- Add the following line, where
Path
is the path of the folder where you want to install SharePoint Server 2007:<INSTALLLOCATION Value="
Path
" /> - Save and then close the Config.xml file.
- Start a command prompt, and then change to the folder that contains the SharePoint Server 2007 installation files.
- Type the following line at the command prompt, and then press ENTER:
setup.exe /config
PathOfConfigFile
Note
PathOfConfigFile
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
Additional query words: moss moss2007 set up
Keywords: kbhowto kbinfo kbexpertiseinter KB923590