Installing a web part using the command line
I have downloaded some web parts for my site and need to install them on the server – this is quite easy using the command line. Here is the how to do it:
C:\Program Files\Common Files\Microsoft Shared\web server extensions\14\BIN\stsadm.exe -o addwppack -filename <web_part_pack> -globalinstall
Be sure to replace <web_part_pack> with the location of the .cab file to install