Wednesday, November 5, 2008

Install Feature Command

stsadm -o installfeature -filename SubmissionList\feature.xml -force
stsadm -o activatefeature -filename SubmissionList\feature.xml -url http://localhost
iisreset

4 comments:

sagargadekar said...

The feature path must be of the form 'directory\feature.xml'.

sagargadekar said...
This comment has been removed by the author.
sagargadekar said...
This comment has been removed by the author.
sagargadekar said...

For Uninstall and deactivate feature:

1. stsadm -o uninstallfeature -filename SubmissionList\feature.xml -force

2. stsadm -o deactivatefeature -filename SubmissionList\feature.xml -force - url http://localhost