Steps To Install WSP file in STSADM
Posted by ken zheng on December 16, 2008
1. Add the solution
stsadm -o addsolution -filename {WSPFILENAME}
2. Deploy the solution
stsadm -o deploysolution -name {WSPFILENAME} -url {SITEURL}
3. Install the feature
stsadm -o installfeature -filename {FeatureFolder}\feature.xml
4. Activate the feature
stsadm -o activatefeature -id {FEATUREID} -url {SITEURL} -force
5. Deactive the feature
Stsadm.exe -o deactivatefeature -filename “C:\Program Files\Common Files\Microsoft Shared\web server extensions\12\TEMPLATE\FEATURES\ViewFormPagesLockDown\feature.xml” -ur http://servername/
6.Uninstall the feature
stsadm -o uninstallfeature -filename
7.Retract Solution
stsadm -o retractsolution
-name
[-url]
[-allcontenturls]
[-time]
[-immediate]
8.Delete Solution
stsadm -o deletesolution
-name
Microsoft SharePoint Articles on 16 Dec 08 | Microsoft SharePoint & Windows (Vista, Azure, 7) Cloud & Social Computing Space said
[...] Steps To Install WSP file in STSADM (littletalk) [...]
Hopp said
Hi Ken,
you have typo in deactivatefeature (-ur), should be -url.
Anjali said
hi,
where do we have to place this wsp file for runnign htese commands
Hello world! « Jagkon's Blog said
[...] http://littletalk.wordpress.com/2008/12/16/steps-to-install-wsp-file-in-stsadm/ [...]