I saw several articles in the garden about deploying Windows SharePoint Services 3.0 applications.ProgramTemplate Chinese VersionArticleThey all use batch processing files, but errors are always reported during deployment in the server farm. Later, we tried to find that if the stsadm-O deploysolution and stsadm-O addsolution commands are divided into two batch processing files, execute stsadm-O addsolution for batch processing, and then execute stsadm-O deploysolution batch processing on each front-end server (we recommend that you add the-force switch). The specific commands are as follows:
1. stsadm-O addsolution batch processing:
@ REM set templatepath = D: \ wss3tem \
@ Set templatepath = D: \ wss3tem \
Stsadm-O addsolution-filename % templatepath % applicationtemplatecore. WSP
Stsadm-O deploysolution-name applicationtemplatecore. WSP-local-allowgacdeployment
Stsadm-O copyappbincontent
Stsadm-O addsolution-filename % templatepath % absencevacationschedule. WSP
Stsadm-O addsolution-filename % templatepath % budgetingtrackingmultipleprojects. WSP
Stsadm-O addsolution-filename % templatepath % bugdatabase. WSP
Stsadm-O addsolution-filename % templatepath % callcenter. WSP
Stsadm-O addsolution-filename % templatepath % changerequest. WSP
Stsadm-O addsolution-filename % templatepath % complianceprocesssupport. WSP
Stsadm-O addsolution-filename % templatepath % contactsmanagement. WSP
Stsadm-O addsolution-filename % templatepath % documentlibraryreview. WSP
Stsadm-O addsolution-filename % templatepath % eventplanning. WSP
Stsadm-O addsolution-filename % templatepath % expensereimbursementapproval. WSP
Stsadm-O addsolution-filename % templatepath % Helpdesk. WSP
Stsadm-O addsolution-filename % templatepath % inventorytracking. WSP
Stsadm-O addsolution-filename % templatepath % itteamworkspace. WSP
Stsadm-O addsolution-filename % templatepath % jobrequisition. WSP
Stsadm-O addsolution-filename % templatepath % KnowledgeBase. WSP
Stsadm-O addsolution-filename % templatepath % lendinglibrary. WSP
Stsadm-O addsolution-filename % templatepath % physicalassettracking. WSP
Stsadm-O addsolution-filename % templatepath % projecttrackingworkspace. WSP
Stsadm-O addsolution-filename % templatepath % roomequipmentreservations. WSP
Stsadm-O addsolution-filename % templatepath % salesleadpipeline. WSP
Pause
2. stsadm-O deploysolution batch processing:
@ Set templatepath = D: \ wss3tem \
Stsadm-O deploysolution-name absencevacationschedule. WSP-local-Force
Stsadm-O deploysolution-name budgetingtrackingmultipleprojects. WSP-local-Force
Stsadm-O deploysolution-name bugdatabase. WSP-local-Force
Stsadm-O deploysolution-name callcenter. WSP-local-Force
Stsadm-O deploysolution-name changerequest. WSP-local-Force
Stsadm-O deploysolution-name complianceprocesssupport. WSP-local-Force
Stsadm-O deploysolution-name contactsmanagement. WSP-local-Force
Stsadm-O deploysolution-name documentlibraryreview. WSP-local-force-allowgacdeployment
Stsadm-O deploysolution-name eventplanning. WSP-local-Force
Stsadm-O deploysolution-name expensereimbursementapproval. WSP-local-Force
Stsadm-O deploysolution-name Helpdesk. WSP-local-Force
Stsadm-O deploysolution-name inventorytracking. WSP-local-force-allowgacdeployment
Stsadm-O deploysolution-name itteamworkspace. WSP-local-Force
Stsadm-O deploysolution-name jobrequisition. WSP-local-Force
Stsadm-O deploysolution-name KnowledgeBase. WSP-local-Force
Stsadm-O deploysolution-name lendinglibrary. WSP-local-Force
Stsadm-O deploysolution-name physicalassettracking. WSP-local-Force
Stsadm-O deploysolution-name projecttrackingworkspace. WSP-local-Force
Stsadm-O deploysolution-name roomequipmentreservations. WSP-local-force-allowgacdeployment
Stsadm-O deploysolution-name salesleadpipeline. WSP-local-Force
Pause