Deploy upgrade definition files and new site definitions (Office SharePoint Server)
Updated: March 5, 2009
Applies To: Office SharePoint Server 2007
Topic Last Modified: 2016-05-06
In this article:
You can create upgrade definition files and custom site definitions in a separate development environment. Then, you can use the following process to deploy new upgrade definition files and custom site definitions to your server.
|This step must be performed after installation, but before running the SharePoint Products and Technologies Configuration Wizard.|
Before you perform this procedure, you must create the upgrade definition files and custom site definitions. For more information, see Develop new custom site definitions and create upgrade definition files (Office SharePoint Server) and the Office SharePoint Server 2007: Software Development Kit (http://go.microsoft.com/fwlink/?LinkId=798133).
Save the upgrade definition files to the %COMMONPROGRAMFILES%\Microsoft Shared\Web server extensions\12\CONFIG\UPGRADE folder.
Save the custom site definitions to the %COMMONPROGRAMFILES%\Microsoft Shared\Web server extensions\12\TEMPLATE\SiteTemplates\NAME folder, where NAME matches the site definition name (for example, ACTION). Name the new folder using all uppercase letters.
Save the Webtemp.xml files for your custom site definitions to the %COMMONPROGRAMFILES%\Microsoft Shared\Web server extensions\12\TEMPLATE\LCID\XML folder. Name the files WEBTEMPNAME.xml, where NAME matches the site definition name (for example, WEBTEMPACTION.xml).
You might need to reset Internet Information Services (IIS) to recognize the new site definitions. To reset IIS, run the following command on the command line:
If you have a server farm, repeat these steps for all servers in your farm.
This topic is included in the following downloadable book for easier reading and printing:
See the full list of available books at Downloadable content for Office SharePoint Server 2007 .