Thursday, July 21, 2011

Uploading WSP Package as Farm solution in CA with Powershell ISE

1)Open file
C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\Config\PowerShell\Registration\SharePoint.ps1. In windows Powershell ISE
and Execute

2)In new file
Add-SPSolution “D:\Deploy\MySharePointSolution.wsp“

Install-SPSolution –Identity MySharePointSolution.wsp –WebApplication http://myspwebapp –GACDeployment
and  execute.

Check in Central Admin-->System Settings-->Manage Farm solution -->MySharePointSolution.wsp“ is deployed or not .
There is no UI way to upload and activate solution at farm level.

No comments: