Click to Rate and Give Feedback
TechNet
TechNet Library
Office
Technical reference
Stsadm operations
 Installfeature: Stsadm operation
Installfeature: Stsadm operation (Office SharePoint Server)

Updated: 2007-04-26

Operation name: Installfeature

Installs a feature.

NoteNote:

Farm-scoped features are also automatically activated during this stage. Other features might still need to be activated.

Syntax

stsadm -o installfeature

   -filename <relative>

   -name <feature folder>

   [-force]

Parameters

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.

NoteNote:
If the feature file is not found on disk, the following error message is displayed: "Failed to find the XML file at location 12\Template\Features\<file path>."

name

Name of the feature directory, such as “MyFeature”

Yes

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.

Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
both the required fields are not actually required      Muhammedh   |   Edit   |   Show History
please note that its either the filename or the name that is required.
Tags What's this?: Add a tag
Flag as ContentBug
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker