Copy the WSP file to the target server
On the target machine, ensure you have correct SPShellAdmin permissions for the Sharepoint Management PowerShell:
Add-SPShellAdmin –UserName DOMAIN\YOUR_USER
As per this excellent article:
- Add-SPSolution c:\your.WSP
- Install-SPSolution –Identity your.WSP –WebApplication http://yourSPInstance -GACDeployment
- Go to the Site Settings page, choose the Web Parts gallery and Add a New Web Part. Your custom web part should be there and you can Edit it to set the title, description and group.
To do an update later if you've amended your web part code:
Update-SPSolution -Identity your.WSP -LiteralPath c:\your.wsp -GACDeployment
sharepoint developer? Sell your webparts @ http://www.thesharepointmarket.com/submit-product/
ReplyDelete