Wednesday, April 16, 2008

SharePoint Free Application Templates and batch file

http://technet.microsoft.com/en-us/windowsserver/sharepoint/bb407286.aspx
This is the link to Microsoft's 'Fab40'

I created a batch file to make this process much easier. create a bat file name it whatever, and follow along with the guidelines below.



echo on

set cmmand="C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN\stsadm.exe"

%cmmand% -o addsolution -filename ApplicationTemplateCore.wsp
%cmmand% -o deploysolution -name ApplicationTemplateCore.wsp -allowgacdeployment -force -local
%cmmand% -o copyappbincontent

%cmmand% -o addsolution -filename BudgetingTrackingMultipleProjects.wsp
%cmmand% -o deploysolution -name BudgetingTrackingMultipleProjects.wsp -allowgacdeployment -force -local
%cmmand% -o copyappbincontent

%cmmand% -o addsolution -filename BudgetingTrackingMultipleProjects.wsp
%cmmand% -o deploysolution -name BudgetingTrackingMultipleProjects.wsp -allowgacdeployment -force -local
%cmmand% -o copyappbincontent

%cmmand% -o addsolution -filename BugDatabase.wsp
%cmmand% -o deploysolution -name BugDatabase.wsp -allowgacdeployment -force -local
%cmmand% -o copyappbincontent

%cmmand% -o addsolution -filename CallCenter.wsp
%cmmand% -o deploysolution -name CallCenter.wsp -allowgacdeployment -force -local
%cmmand% -o copyappbincontent

%cmmand% -o addsolution -filename ChangeRequest.wsp
%cmmand% -o deploysolution -name ChangeRequest.wsp -allowgacdeployment -force -local
%cmmand% -o copyappbincontent

%cmmand% -o addsolution -filename ComplianceProcessSupport.wsp
%cmmand% -o deploysolution -name ComplianceProcessSupport.wsp -allowgacdeployment -force -local
%cmmand% -o copyappbincontent

%cmmand% -o addsolution -filename ContactsManagement.wsp
%cmmand% -o deploysolution -name ContactsManagement.wsp -allowgacdeployment -force -local
%cmmand% -o copyappbincontent

%cmmand% -o addsolution -filename DocumentLibraryReview.wsp
%cmmand% -o deploysolution -name DocumentLibraryReview.wsp -allowgacdeployment -force -local
%cmmand% -o copyappbincontent

%cmmand% -o addsolution -filename EventPlanning.wsp
%cmmand% -o deploysolution -name EventPlanning.wsp -allowgacdeployment -force -local
%cmmand% -o copyappbincontent

%cmmand% -o addsolution -filename ExpenseReimbursementApproval.wsp
%cmmand% -o deploysolution -name ExpenseReimbursementApproval.wsp -allowgacdeployment -force -local
%cmmand% -o copyappbincontent

%cmmand% -o addsolution -filename HelpDesk.wsp
%cmmand% -o deploysolution -name HelpDesk.wsp -allowgacdeployment -force -local
%cmmand% -o copyappbincontent

%cmmand% -o addsolution -filename InventoryTracking.wsp
%cmmand% -o deploysolution -name InventoryTracking.wsp -allowgacdeployment -force -local
%cmmand% -o copyappbincontent

%cmmand% -o addsolution -filename ITTeamWorkspace.wsp
%cmmand% -o deploysolution -name ITTeamWorkspace.wsp -allowgacdeployment -force -local
%cmmand% -o copyappbincontent

%cmmand% -o addsolution -filename JobRequisition.wsp
%cmmand% -o deploysolution -name JobRequisition.wsp -allowgacdeployment -force -local
%cmmand% -o copyappbincontent

%cmmand% -o addsolution -filename KnowledgeBase.wsp
%cmmand% -o deploysolution -name KnowledgeBase.wsp -allowgacdeployment -force -local
%cmmand% -o copyappbincontent

%cmmand% -o addsolution -filename LendingLibrary.wsp
%cmmand% -o deploysolution -name LendingLibrary.wsp -allowgacdeployment -force -local
%cmmand% -o copyappbincontent

%cmmand% -o addsolution -filename PhysicalAssetTracking.wsp
%cmmand% -o deploysolution -name PhysicalAssetTracking.wsp -allowgacdeployment -force -local
%cmmand% -o copyappbincontent

%cmmand% -o addsolution -filename ProjectTrackingWorkspace.wsp
%cmmand% -o deploysolution -name ProjectTrackingWorkspace.wsp -allowgacdeployment -force -local
%cmmand% -o copyappbincontent

%cmmand% -o addsolution -filename RoomEquipmentReservations.wsp
%cmmand% -o deploysolution -name RoomEquipmentReservations.wsp -allowgacdeployment -force -local
%cmmand% -o copyappbincontent

%cmmand% -o addsolution -filename SalesLeadPipeline.wsp
%cmmand% -o deploysolution -name SalesLeadPipeline.wsp -allowgacdeployment -force -local
%cmmand% -o copyappbincontent

No comments: