public string GetInstallPath(IPackage package) { ISolutionPackageRepository repository = CreateSolutionPackageRepository(); return(repository.GetInstallPath(package)); }
IPackageScript CreateInitializeScript(IPackage package) { string packageInstallDirectory = solutionPackageRepository.GetInstallPath(package); return(scriptFactory.CreatePackageInitializeScript(package, packageInstallDirectory)); }