Webpart Development part 2: Deployment
by Hojo Clement • March 24, 2010 • MOSS 2007 • 3 Comments
In Part 1 of this article, we discussed how to create a simple Web part and how to bind it as WSP package.
In this article we will see how to deploy the packaged so that you can use it in any of your sites.
- Copy the WSP to your SharePoint server
- Open command prompt and navigate to the folder Program Files\Common Files\Microsoft Shared\web server extensions\12\BIN
- run stsadm -o addsolution -filename “G:\Hello_World.wsp”
- Open central administration -> click operations
- Click Solutions under Global configurations
- Locate the newly added web part (hello_wold.wsp) and click to open its solution solution property page.
- Click solution deploy link and click OK in the resulting page.
- Open site collection
- Go to site actions -> site settings -> and click web parts under gallery
- Click New
- Choose our new web part in new web parts gallery and Populate
In the coming articles we will see how to add user controls to web part.

Pingback: Webpart Development part 3: Adding controls to web part
Pingback: Creating Custom Web Part Properties
Hi,
Slow progress here. Regarding the instructions above…step 8….which ‘site collection’ where? I’ve followed all the previous steps but get to this step 8 and am lost…..are we still in Central Admin on the WSS/MOSS box here?