Monday, January 17, 2011

Add Solution / Deploy Solution

Hi,

If you want to install a wsp file in SharePoint, you can use these script to install :

Command # 1 : This command will add the solution in SharePoint (Reference)

"%CommonProgramFiles%\Microsoft Shared\web server extensions\14\BIN\stsadm.exe" -o addsolution -filename C:\Gaurav\SPSolution.TaskListRollup.wsp

Command # 2 : This command will deploy the solution in SharePoint (Reference)

"%CommonProgramFiles%\Microsoft Shared\web server extensions\14\BIN\stsadm.exe" -o deploysolution -name SPSolution. TaskListRollup.wsp -local -allowgacdeployment –allcontenturls

Enjoy !
Post a Comment