private List <string> GetPackagesPath(string localPath, StoreLayoutSpecification storeLayoutSpecification)
        {
            var packagesPath = new List <string>();
            var manifest     = ImageBuilderUtility.ReadXml <ServiceManifestType>(localPath);

            if (manifest.CodePackage != null)
            {
                foreach (var codePackage in manifest.CodePackage)
                {
                    string packagePath = storeLayoutSpecification.GetCodePackageFolder(this.ApplicationTypeName, manifest.Name, codePackage.Name, codePackage.Version);
                    packagesPath.Add(packagePath);
                }
            }

            if (manifest.ConfigPackage != null)
            {
                foreach (var configPackage in manifest.ConfigPackage)
                {
                    string packagePath = storeLayoutSpecification.GetConfigPackageFolder(this.ApplicationTypeName, manifest.Name, configPackage.Name, configPackage.Version);
                    packagesPath.Add(packagePath);
                }
            }

            if (manifest.DataPackage != null)
            {
                foreach (var dataPackage in manifest.DataPackage)
                {
                    string packagePath = storeLayoutSpecification.GetDataPackageFolder(this.ApplicationTypeName, manifest.Name, dataPackage.Name, dataPackage.Version);
                    packagesPath.Add(packagePath);
                }
            }

            return(packagesPath);
        }