Installing SharePoint 2013 with a configuration file
SharePoint 2013 supports the use of a configuration file to perform a scripted or silent installation. There are some sample configuration files included in the setup:
- Setup – setup a single server (files\setup\config.xml)
- SetupFarmSilent – setup a farm in silent mode (files\setupfarmsilent\config.xml)
- SetupSilent – setup a single server silently (files\setupsilent\config.xml)
- SetupUpgradeSilent – upgrade a single server silently (files\setup\upgradesilent\config.xml)
Below is an example config.xml file for setting up a single server with the following customisations:
- Specify the installation path
- Specify the data path
- Specify the PID key
- Set the server role to Single Server
<Configuration>
<Package Id="sts">
<Setting Id="SETUPTYPE" Value="CLEAN_INSTALL"/>
</Package>
<PIDKey Value="XXXXX-XXXXX-XXXXX-XXXXX-XXXXX"/>
<Logging Type="verbose" Path="%temp%" Template="Microsoft SharePoint Foundation 2013 Setup *.log"/>
<Setting Id="UsingUIInstallMode" Value="1"/>
<Setting Id="SETUP_REBOOT" Value="Never"/>
<INSTALLLOCATION Value="E:\Program Files\Microsoft Office Servers"/>
<DATADIR Value="E:\Program Files\Microsoft Shared\Web Server Extensions\14\Data"/>
<ServerRole Value="SingleServer"/>
</Configuration>
To use the config.xml file run setup.exe with the /config parameter:
setup.exe /config “C:\files\setup\config.xml”
![[BlogBookmark]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/blogbookmark.png)
![[Blogsvine]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/blogsvine.png)
![[del.icio.us]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/delicious.png)
![[Digg]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/digg.png)
![[Facebook]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/facebook.png)
![[Furl]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/furl.png)
![[Google]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/google.png)
![[LinkedIn]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/linkedin.png)
![[MySpace]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/myspace.png)
![[Reddit]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/reddit.png)
![[Slashdot]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/slashdot.png)
![[StumbleUpon]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/stumbleupon.png)
![[Twitter]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/twitter.png)
![[Windows Live]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/windowslive.png)
![[Yahoo!]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/yahoo.png)
![[Email]](http://www.adventuresinsharepoint.co.uk/wp-content/plugins/bookmarkify/email.png)