Tuesday, February 28, 2012

How to Deploy WSP On Farm Using Management Shell


Step 1: Open Sharepoint 2010 Management Shell
Step 2: Paste Add-SPSolution -LiteralPath “D:\\DevSanbox.wsp” to management shell, result as
Step 3: Open Central Admin
Step 4: Click System Settings | “Manage farm solutions”  link
Step 5: Click to your .WSP
Step 6: Click “Deploy Solution” link
Step 7: Choose your Web Application then click OK
Step 8: result as, your file .wsp deployed
Step 9: Open Web App | Add Web Part | you see web part appear then choose it and click Add
Step 10: Retract and Remove solution
Go to Central Admin again | System Settings | Manage farm solutions | Click to your solution and click “Retract Solution” link
Step 11: Choose Web Application which you want to Retract
Step 12: If you see Error, you copy “stsadm.exe -o execadmsvcjobs“ as guide message

Step 13: Continue with Management Shell | Paste statement copied to here
Step 14: Waiting for Operation completed
Step 15: Back to Central Admin and click “Go back to site” link
Step 16: Go to Central Admin again | System Settings | Manage farm solutions | Click to your solution
Step 17: Click “Remove Solution” link

0 comments:

Post a Comment