Set the packagepath when saving the SK file - as need to know the location when we fetch it in next install step

This commit is contained in:
Warren Buckley
2019-02-12 14:11:47 +00:00
parent 22918b40bf
commit 47aec9768c

View File

@@ -70,6 +70,8 @@ namespace Umbraco.Web.Install.InstallSteps
//add an entry to the installedPackages.config
var compiledPackage = _packageService.GetCompiledPackageInfo(packageFile);
var packageDefinition = PackageDefinition.FromCompiledPackage(compiledPackage);
packageDefinition.PackagePath = packageFile.FullName;
_packageService.SaveInstalledPackage(packageDefinition);
InstallPackageFiles(packageDefinition, compiledPackage.PackageFile);