Skip to content

Adding and deploying Solutions to SharePoint 2007 with STSADM

July 19, 2011

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


From → SharePoint 2007

Leave a Comment

Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s

%d bloggers like this: