Wednesday, April 27, 2011

How to deploy the .wsp package using stsadm.exe

cd  "c:\Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN"

 Add solution to your central administration, rename filename.wsp with your solution and path
stsadm -o addsolution -filename "E:\WSPBuilderProject1\WSPBuilderProject1.wsp"

 add stsadm command to comit the changes
stsadm -o execadmsvcjobs

 Deploy solution to your sharepoint site rename filename.wsp with your solution
stsadm -o deploysolution -name WSPBuilderProject1.wsp -url [http://moss] -allowgacdeployment -immediate -force


No comments:

Post a Comment