sharepoint 2007 模板安装方法
首先下载模板解压到一个路径,
然后在命令行进入到模板的路径后,执行:
PATH=C:\WINDOWS\system32;C:\WINDOWS;C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN
(把stsadm.exe的路径加进path)
然后执行
stsadm -o addsolution -filename ApplicationTemplateCore.wsp
stsadm -o deploysolution -name ApplicationTemplateCore.wsp -allowgacdeployment -immediate
安装分发ApplicationTemplateCore.wsp后,执行安装:
stsadm -o addsolution -filename AbsenceVacationSchedule.wsp
stsadm -o addsolution -filename BudgetingTrackingMultipleProjects.wsp
stsadm -o addsolution -filename BugDatabase.wsp
stsadm -o addsolution -filename ChangeRequest.wsp
stsadm -o addsolution -filename ComplianceProcessSupport.wsp
stsadm -o addsolution -filename ContactsManagement.wsp
stsadm -o addsolution -filename DocumentLibraryReview.wsp
stsadm -o addsolution -filename EventPlanning.wsp
stsadm -o addsolution -filename ExpenseReimbursementApproval.wsp
stsadm -o addsolution -filename HelpDesk.wsp
stsadm -o addsolution -filename InventoryTracking.wsp
stsadm -o addsolution -filename ITTeamWorkspace.wsp
stsadm -o addsolution -filename JobRequisition.wsp
stsadm -o addsolution -filename KnowledgeBase.wsp
stsadm -o addsolution -filename LendingLibrary.wsp
stsadm -o addsolution -filename PhysicalAssetTracking.wsp
stsadm -o addsolution -filename ProjectTrackingWorkspace.wsp
stsadm -o addsolution -filename RoomEquipmentReservations.wsp
stsadm -o addsolution -filename SalesLeadPipeline.wsp
stsadm -o deploysolution -name AbsenceVacationSchedule.wsp -allowgacdeployment -immediate
stsadm -o deploysolution -name BudgetingTrackingMultipleProjects.wsp -allowgacdeployment -immediate
stsadm -o deploysolution -name BugDatabase.wsp -allowgacdeployment -immediate
stsadm -o deploysolution -name ChangeRequest.wsp -allowgacdeployment -immediate
stsadm -o deploysolution -name ComplianceProcessSupport.wsp -allowgacdeployment -immediate
stsadm -o deploysolution -name ContactsManagement.wsp -allowgacdeployment -immediate
stsadm -o deploysolution -name DocumentLibraryReview.wsp -allowgacdeployment -immediate
stsadm -o deploysolution -name EventPlanning.wsp -allowgacdeployment -immediate
stsadm -o deploysolution -name ExpenseReimbursementApproval.wsp -allowgacdeployment -immediate
stsadm -o deploysolution -name HelpDesk.wsp -allowgacdeployment -immediate
stsadm -o deploysolution -name InventoryTracking.wsp -allowgacdeployment -immediate
stsadm -o deploysolution -name ITTeamWorkspace.wsp -allowgacdeployment -immediate
stsadm -o deploysolution -name JobRequisition.wsp -allowgacdeployment -immediate
stsadm -o deploysolution -name KnowledgeBase.wsp -allowgacdeployment -immediate
stsadm -o deploysolution -name LendingLibrary.wsp -allowgacdeployment -immediate
stsadm -o deploysolution -name PhysicalAssetTracking.wsp -allowgacdeployment -immediate
stsadm -o deploysolution -name ProjectTrackingWorkspace.wsp -allowgacdeployment -immediate
stsadm -o deploysolution -name RoomEquipmentReservations.wsp -allowgacdeployment -immediate
stsadm -o deploysolution -name SalesLeadPipeline.wsp -allowgacdeployment -immediate
可以了。