Knowledge Walls
Gopal Rao
Mumbai, Maharashtra, India
Passcode:
How to deploy the .wsp file in the sharepoint server
2539 Views
Introduction 
In this i am going to explain about the procedure of deploying  and commands of the stsadm.
Condition 1:If you are deploying .wsp file first time in server url  
Must following this Procedure:
   1) Add Solution
   2) Deploy solution
Condition 2:If you already deployed .wsp file and going to deploy the same .wsp file on next time  
Must following this Procedure:
   1) Retract Solution
   2) Delete solution
   3) Add Solution
   4) Deploy solution
Retract solution 
This command used to retract the .wsp solution before deleting the solution.

stsadm -o retractsolution
    -name<solution name>
    [-url<server url>]
    [-allcontenturls]
    [-time<time to retract>]
    [-immediate]
    [-local]
    [-lcid<language>]

After run this command must execute the service jobs,It start to executes the all service jobs

stsadm -o execadmsvcjobs
Delete solution 
This command used to delete the .wsp solution

stsadm -o deletesolution
    -name<solution name>
    [-override]
    [-lcid <language>]

After run this command must execute the service jobs,It start to executes the all service jobs

stsadm -o execadmsvcjobs
Add solution 
This solution used to add the .wsp solution.Before depolying the solution must add the solution.

stsadm -o addsolution
    -filename<solution name>
    [-lcid <language>]

After run this command must execute the service jobs,It start to executes the all service jobs

stsadm -o execadmsvcjobs
Deploy solution  
Finally deploy the .wsp solution

stsadm -o deploysolution 
   -name<solution name>
   [-url <server url>]
   [-allcontenturls]
   [-time <time to deploy>]
   [-immediate]
   [-local]
   [-allowgacdeployment]
   [-allowcaspolicies]
   [-lcid <language>]
   [-force]

After run this command must execute the service jobs,It start to executes the all service jobs

stsadm -o execadmsvcjobs
Best Lessons of "Microsoft sharepoint"
Top lessons which are viewed more times.
  Copyright © 2014 Knowledge walls, All rights reserved
KnowledgeWalls
keep your tutorials and learnings with KnowledgeWalls. Don't lose your learnings hereafter. Save and revise it whenever required.
Click here for more details