Friday, March 14, 2014

Deploying a WSP into SharePoint 2013

Deploying WSP into SharePoint 2013 need to be done on the SharePoint Server which host the SharePoint Central Administration.

Step 1: Take the .wsp file from the bin folder and place it in separate deployment folder. Here i am going to place my .wsp file in "D:\Deploy\WSP\"

Step 2: Open "SharePoint 2013 Management Shell" as administrator.

 

Step 3: Run the script Add-SPSolution "D:\Deploy\WSP\<filename>.wsp"

Step 4: Open Central Administration --> System Settings --> Manage farm solutions(Under Farm Management)

Step 5: Click on the <filename>.wsp package

step 6: Click "Deploy Solution"

step 7: In Deployment Settings 
                    Deploy When: Now
                    Deploy to: All content web application

Step 8: Click OK.

Step 9: Activation WSP Feature on the site collection.

- Open the root Site
- Click Site Actions
- Click "Site Colelction Features" under "Site Collection Administrator"
- Goto <filename>.wsp and click activate













No comments:

Post a Comment