WSP Deploy

Steps To Deploy WSP:

 

Step 1: Open Command prompt and navigate to the below mentioned folder for STSADM utility.

 

C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN

(Use Command:  cd C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN)

STSADM utility is for adding the WSP solution package in SharePoint Central Administration.

 

 

                       

 

Command for Adding the WSP Solution Package:

Install:

stsadm -o addsolution -filename path\mySolution.wsp
stsadm -o execadmsvcjobs
stsadm -o deploysolution -name mySolution.wsp -immediate -allowGacDeployment -force –allcontenturls

Uninstall:

stsadm -o retractsolution -name mySolution.wsp -immediate -allcontenturls
stsadm -o execadmsvcjobs
stsadm -o deletesolution -name mySolution.wsp -override
stsadm -o execadmsvcjobs

 

Step 2: Go to Start --> Administrative Tools -->  Sharepoint 3.0 Central Administration

 

 

 

You will see Sharepoint Central Administration in Internet Explorer. Click on Solution Management in Global Configuration under operation Tab. 

 

 

 

You will see the solution that we have added through STSADM command in previous step.

 

 

 

Here the status is not deployed and Deployed to is having no address.

 

Now to deploy the WSP in a web application click on the WSP Name. In this case it is testwsp.wsp

 

After clicking on the WSP name you will get the following screen.

 

 

 

Now click on Deploy Solution link you will get following screen.

 

 

 

Select the Web Application from the dropdown and if you want to deploy it on a specific time change the option now to At a specified time. And after that click OK.

 

posted @ 2016-06-23 18:14  光阴的故事-SKY  阅读(114)  评论(0编辑  收藏  举报