Is there a supported method to add features during a solution update.
We call Update-SPSolution
and then upgrade our old features using SPFeature.Upgrade
but any new features in the solution do not appear to be deployed.
We could call Install-SPFeature
for the missing features but we feel this is unsupported as Get-Help Upgrade-SPSolution
displays the following
get-help Update-SPSolution
NAME
Update-SPSolution
SYNOPSIS
Upgrades a deployed SharePoint solution.
DESCRIPTION
The Update-SPSolution cmdlet upgrades a deployed SharePoint solution in the
farm. Use this cmdlet only if a new solution contains the same set of files
and features as the deployed solution. If files and features are different,
the solution must be retracted and redeployed by using the Uninstall-SPSolution
and Install-SPSolution cmdlets, respectively.
This seems pretty clear cut and implies that solution update can only be used to deploy new versions Assemblies and existing files.
The same set of files comment does not make sense to use because of the existence of the ApplyElementManifest which only seems to be useful to apply new element manifests e.g. new webparts.
Have we misunderstood the use of ApplyElementManifest and MapFile?
What is the real world experience of adding Features during solution update?