Sunday, December 30, 2007

Easy way to install Sharepoint 3.0 Server Templates

Hi again,

Do you still instaling Sharepoint 3.0 server Template one by one, dont do that. Use a litle script to save time, this manual will help you.

Download Sharepoint 3.0 Templates
Install then put Server Templates in folder "c:\templates\"
Create a file .bat Call "InstallTemplate.bat", then you add the following lines.

path c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\bin\
stsadm -o addsolution -filename c:\templates\ApplicationTemplateCore.wsp
stsadm -o deploysolution -name ApplicationTemplateCore.wsp -local -allowgacdeployment
stsadm -o copyappbincontent
stsadm -o addsolution -filename c:\templates\AbsenceVacationSchedule.wsp
stsadm -o deploysolution -name AbsenceVacationSchedule.wsp -local -allowgacdeployment
stsadm -o addsolution -filename c:\templates\BudgetingTrackingMultipleProjects.wsp
stsadm -o deploysolution -name BudgetingTrackingMultipleProjects.wsp -local -allowgacdeployment
stsadm -o addsolution -filename c:\templates\BugDatabase.wsp
stsadm -o deploysolution -name BugDatabase.wsp -local -allowgacdeployment
stsadm -o addsolution -filename c:\templates\CallCenter.wsp
stsadm -o deploysolution -name CallCenter.wsp -local -allowgacdeployment
stsadm -o addsolution -filename c:\templates\ChangeRequest.wsp
stsadm -o deploysolution -name ChangeRequest.wsp -local -allowgacdeployment
stsadm -o addsolution -filename c:\templates\ComplianceProcessSupport.wsp
stsadm -o deploysolution -name ComplianceProcessSupport.wsp -local -allowgacdeployment
stsadm -o addsolution -filename c:\templates\ContactsManagement.wsp
stsadm -o deploysolution -name ContactsManagement.wsp -local -allowgacdeployment
stsadm -o addsolution -filename c:\templates\DocumentLibraryReview.wsp
stsadm -o deploysolution -name DocumentLibraryReview.wsp -local -allowgacdeployment
stsadm -o addsolution -filename c:\templates\EventPlanning.wsp
stsadm -o deploysolution -name EventPlanning.wsp -local -allowgacdeployment
stsadm -o addsolution -filename c:\templates\ExpenseReimbursementApproval.wsp
stsadm -o deploysolution -name ExpenseReimbursementApproval.wsp -local -allowgacdeployment
stsadm -o addsolution -filename c:\templates\HelpDesk.wsp
stsadm -o deploysolution -name HelpDesk.wsp -local -allowgacdeployment
stsadm -o addsolution -filename c:\templates\InventoryTracking.wsp
stsadm -o deploysolution -name InventoryTracking.wsp -local -allowgacdeployment
stsadm -o addsolution -filename c:\templates\ITTeamWorkspace.wsp
stsadm -o deploysolution -name ITTeamWorkspace.wsp -local -allowgacdeployment
stsadm -o addsolution -filename c:\templates\JobRequisition.wsp
stsadm -o deploysolution -name JobRequisition.wsp -local -allowgacdeployment
stsadm -o addsolution -filename c:\templates\KnowledgeBase.wsp
stsadm -o deploysolution -name KnowledgeBase.wsp -local -allowgacdeployment
stsadm -o addsolution -filename c:\templates\PhysicalAssetTracking.wsp
stsadm -o deploysolution -name PhysicalAssetTracking.wsp -local -allowgacdeployment
stsadm -o addsolution -filename c:\templates\ProjectTrackingWorkspace.wsp
stsadm -o deploysolution -name ProjectTrackingWorkspace.wsp -local -allowgacdeployment
stsadm -o addsolution -filename c:\templates\RoomEquipmentReservations.wsp
stsadm -o deploysolution -name RoomEquipmentReservations.wsp -local -allowgacdeployment
stsadm -o addsolution -filename c:\templates\SalesLeadPipeline.wsp
stsadm -o deploysolution -name SalesLeadPipeline.wsp -local -allowgacdeployment
pause

Run InstallTemplate.bat, everything will run right.
Post a Comment