Saturday, January 3, 2015

How to deploy Solution in SharePoint with Power Shell ; Solved Error : Feature is already installed in this farm use the -force attribute;

I Come across the error while deploying wsp package on SharePoint 2010 , I was trying to do it with command "Add-SPSolution -LiteralPath " but once it shows the solution in central administration and I tried to deploy , it throws an error that feature no ##### is already installed please use some -force attribute to install it , It was resolved once I used following command 

Install-SPSolution -Identity "XXXXXXX.wsp" -WebApplication "http://abcd.com" -GACDeployment -Force

Thanks,
Rahim

No comments:

Post a Comment