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?


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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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