moopoo.net
Fishing, technology and anything else

Deploy a sharepoint solution with stsadm

October 31st, 2008 by Matt

First off we need to add the solution to SharePoint

stsadm -o addsolution -filename c:\path-to\filename.wsp

Next, we deploy the solution to the site

stsadm -o deploysolution -name filename.wsp -url http://myurl -immediate Optionally if you use Code Access Security add the following to the above

-allowcaspoliciesand if you have assemblies that deploy to the GAC, add this line to the deploysolution statement above

-allowgacdeploymentThis will create a timer job, we then simply need to execute this job

stsadm -o execadmsvcjobs

Posted in SharePoint

Leave a Comment

Please note: Comment moderation is enabled and may delay your comment. There is no need to resubmit your comment.