TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
C# Corner
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
How to do WSP Deployment in SharePoint
Manpreet Singh
Apr 04, 2015
3.9
k
0
0
facebook
twitter
linkedIn
Reddit
WhatsApp
Email
Bookmark
In this blog you will learn How to do WSP Deployment in SharePoint.
Hello Readers,
Irrespective of SharePoint Admins in a project, we developers sometimes land up in situation where we have to deploy our own wsp. So don’t worry if you don’t know how to do it if ur admin is not in with you.
The following are the commands you will require to deploy a wsp file.
Commands
To add a solution, run this script.
Add-SPSolution -LiteralPath “Your wsp location”.wsp
To install the solution, run this script
Install-SPSolution -Identity “Name of your solution”.wsp -GACDeployment -allwebapplications
To uninstall the solution, run this script
UnInstall-SPSolution -Identity “Name of your solution”.wsp -allwebapplication
To remove the solution, run this script
remove-SPSolution -Identity “Name of your solution”.wsp
Lastly to update some fixes, run this script
Update-SPSolution -Identity “Name of your solution”.wsp -LiteralPath “Your wsp location”.wsp –GACDeployment
commands to help you to achieve your deployment. Keep learning.
Cheers !
How to do WSP Deployment in SharePoint
Next Recommended Reading
Download Deployed Solutions (WSP) from Central Admin with PowerShell in SharePoint 2013