As part of a migration from SharePoint 2007 to 2010, I am cleaning up old features that are no longer used and/or would have compatibility issues with the upgrade - mainly the old FAB40 templates. To do this cleanly, I am following the instructions from this blog post - deactivating and then deleting the feature before then retracting and removing the solution. By doing the first two steps I can ensure that I am not using the feature somewhere in the farm still, which would otherwise create issues with missing content.
However, it isn't always clear what features are part of a solution. Is there a way to get a list of features used, or deployed with, each solution package?