Wednesday, June 11, 2014

install or remove or retract wsp in SP


Follow the steps for STSADM:
  1. Open command prompt and navigate to C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\BIN
  2. Use the stsadm command = stsadm -o retractsolution -name solutionName.wsp -immediate
  3. and then remove the wsp = stsadm -o deletesolution -name solutionName.wsp
Follow the steps for Powershell:
  1. Go to All Programs => Microsoft SharePoint 2010 Products =>SharePoint 2010 Management Shell =>Run as administrator
  2. Uninstall-SPSolution -identity "solutionName.wsp"
  3. Remove-SPSolution -identity "solutionName.wsp"

No comments:

Post a Comment