Updated: 2007-04-26
Installs a feature.
Farm-scoped features are also automatically activated during this stage. Other features might still need to be activated.
stsadm -o installfeature
-filename <relative>
-name <feature folder>
[-force]
Parameter
Value
Required?
Description
filename
A valid file path, such as "MyFeature\Feature.xml"
Yes
Path to feature must be a relative path to the 12\Template\Features directory. Can be any standard character that the Windows system supports for a file name.
name
Name of the feature directory, such as “MyFeature”
Name of the feature folder located in the 12\Template\Features directory
force
<none>
No
Forces an installation of a feature that is already installed.