How to install Application Templates on WSS3.0
Posted on 2008-07-11 14:36 Razor# 阅读(840) 评论(0) 编辑 收藏 举报Instructions
Note: To install or remove a server admin template, you must have Administrator rights to both the Windows SharePoint Services site and to the root of the server on which it is to be installed or removed. Installation and removal are done via the Stsadm.exe command-line utility located at the following path: %PROGRAMFILES%\common files\microsoft shared\web server extensions\12\bin.
Installing a template:
Removing a template:
This process will not remove any sites that were already created using the template. It will only prevent users from creating new sites based on the template. The Application Template Core solution must remain installed and deployed for other server admin templates to be installed.
Installing a template:
- Before installing a server admin template, you must first install the Application Template Core solution, ApplicationTemplateCore.wsp. (Click here to download). If you have already installed this solution, proceed to Step 2.
- Pull the core file, ApplicationTemplateCore.wsp, from the extracted distribution. The core solution file will be added to the solution store, a table in the Windows SharePoint Services configuration store that holds solution files.
- Via command line, run stsadm -o addsolution -filename <file_path>\ApplicationTemplateCore.wsp
- Next, run stsadm -o deploysolution -name ApplicationTemplateCore.wsp -allowgacdeployment
(Additional attributes may be required based on your Windows SharePoint Services configuration. For example:
Single Server: [ -local | -time <time to deploy at> ]
Farm: [ -immediate | -time <time to deploy at> ]
To see the list of attributes, run stsadm -help deploysolution) - Finally, run stsadm -o copyappbincontent
- Pull the solution file, <template_name>.wsp, from the extracted distribution. The solution file will also be added to the solution store.
- Via command line, run stsadm -o addsolution -filename <file_path>\<template_name>.wsp
- Next, run stsadm -o deploysolution -name <template_name>.wsp -allowgacdeployment
(Additional attributes may be required based on your Windows SharePoint Services configuration. For example:
Single Server: [ -local | -time <time to deploy at> ]
Farm: [ -immediate | -time <time to deploy at> ]
To see the list of attributes, run stsadm -help deploysolution) - To check the deployment status, browse to the WSS Central Administration site. Click the Operations tab, and then click Solution management under global configuration.
- After all the solutions are marked Globally Deployed, run iisreset from the command line.
- Log into the SharePoint site as the site administrator.
- From the Site Actions drop-down menu in the top right, select Site Settings.
- Under the Site Administration section, select Sites and Workspaces.
- Select Create to create a new site using a site template.
- Complete the new SharePoint site information. In the Template Selection section, select the Application Templates tab. Any server admin templates that have been deployed will be listed here.
- Select the template to use for this site and click Create.
Removing a template:
This process will not remove any sites that were already created using the template. It will only prevent users from creating new sites based on the template. The Application Template Core solution must remain installed and deployed for other server admin templates to be installed.
- As administrator, access the server. Removal is done via the command line utility stsadm.
- To retract a solution from being available to SharePoint sites, run stsadm -o retractsolution -name <template_name>.wsp (To see a list of optional attributes that can be added to this command, run stsadm -help retractsolution)
- To remove a solution from the server, run stsadm -o deletesolution -name <template_name>.wsp (To see a list of optional attributes that can be added to this command, run stsadm -help deletesolution)