internal Bundle(BundleData bundleData, Framework framework)
{
this.id = bundleData.Id;
this.storage = new DirectoryInfo(bundleData.Location);
this.framework = framework;
this.bundleData = bundleData;
this.location = bundleData.Location;
this.symbolicName = Path.GetFileNameWithoutExtension(bundleData.Location);
this.state = BundleState.Installed;
SetDynamicInfo();
}