Wednesday, December 19, 2012

Adding and Deploying Solutions in SharePoint 2010

Adding and Deploying Solutions in SharePoint 2010
How we can add solutions in SharePoint 2010 ?
We can add solution via common line using either STSADM or PowerShell command while solution deployment can be done either via Central Admin or using STSADM or PowerShell

Command line:
stsadm.exe -o addsolution -filename yoursolutionpackage.wsp
Using PowerShell:
Add-SPSolution -LiteralPath <SolutionPath>

Now here comes deployment part
  • Deploy Solution using Central Administration
  • Open Central Administration
  • Go to System Settings
  • Click on Manage farm solutions
  • Select the solution from the list
  • Select Deploy Solution and select the web application where you want to deploy it
  • Click OK when you are done.
  • Click Deploy Solution
  • That’s all, we are done with deployment

Command line:
stsadm -o deploysolution -name yoursolutionpackagename.wsp -url http://sp-mach/ -local  -force
Using PowerShell:
Install-SPSolution -Identity <SolutionName> -WebApplication <URLname>

No comments:

Popular Posts


The opinions expressed on this blog are the personal views of Pratik's SharePoint Blog, and do not represent or reflect the viewpoints or policies of any past, present, or future employer, colleague, or customer, or any other entity. The posts on this blog are provided ‘as is’ with no warranties, express or implied, and confer no rights. Use of information contained within this blog, including specific technical steps mentioned herein, is at your own risk. References to specific software products, processes, resources, or companies do not imply any endorsement.