Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

Are features installed on a site stored in any of the databases?

I know the assemblies installed to the GAC from a .wsp are not, however are the features themselves stored in a database?

share|improve this question

1 Answer 1

up vote 2 down vote accepted

The entire WSP file is stored in the configuration database so you can always get it from there with PowerShell like:

(Get-SPFarm).Solutions | 
ForEach-Object{$var = (Get-Location).Path + "\" + $_.Name; $_.SolutionFile.SaveAs($var)}

When a farm solution is deployed the assemblies are copied to GAC or webapp bin folder. All the feature files are copied to SharePointRoot\TEMPLATE\FEATURES which is where they are used from. Other files in the solution is copied to other directories in SharePoint root or webapp.

When a feature is activated some of the element types copy their xml into objects in the content database.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.