Steps to install and deploy solutions to SharePoint 2007 with STSADM.
Add solution
stsadm -o addsolution -filename c:\solution_folder\solution_name.wsp
Deploy solution
stsadm -o deploysolution -name solution_name.wsp -url http://sharepoint_server
Upgrade feature
stsadm -o upgradesolution -name solution_name.wsp -filename c:\solution_folder\solution_name.wsp
Install feature
stsadm -o installfeature -filename {FeatureFolder}\feature.xml
Activate feature
stsadm -o activatefeature -id {FEATUREID} -url http://sharepoint_server -force
Deactivate feature
Stsadm.exe -o deactivatefeature -filename “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\{FeatureFolder}\feature.xml” -url http://sharepoint_server
Uninstall feature
stsadm -o uninstallfeature -filename c:\solution_folder\solution_name.wsp
Remove feature
stsadm -o deletesolution -name solution_name.wsp








Leave a comment