Dirk Van den Berghe SharePoint Admin Blog

real admins use stsadm.

Quickly deploy Application solutions in your WSS/MOSS environment

Tired of always being asked to install all those solutions from the Microsoft Download application Templates Pack onto your WSS or MOSS box?

Here's how I do it:

First off all, if you have not yet installed the application core, you need to deploy this one first. For this I have a batch file with the following instructions

stsadm -o addsolution -filename ApplicationTemplateCore.wsp
stsadm -o deploysolution -name ApplicationTemplateCore.wsp -allowgacdeployment -immediate
stsadm -o copyappbincontent
 

For deploying all the solutions quickly, I use 2 batch files:

  • Deploysolution.bat

stsadm -o addsolution -filename %1
stsadm -o deploysolution -name %1 -allowgacdeployment -immediate

  • Deploy.bat

for /F %%i in ('dir /b *.wsp') do deploysolution.bat %%i

Now put these batch files in the folder containing all your solution files (.wsp) files and run deploy.bat. That's it Big Smile

Posted: Nov 20 2007, 02:07 AM by Dirk | with no comments
Filed under: ,

Comments

No Comments

Leave a Comment

(required) 

(required) 

(optional)

(required)