private void InstallEntry(ParallelReadableZipArchiveEntry entry, string targetPath) { var directoryName = Path.GetDirectoryName(targetPath); Directory.CreateDirectory(directoryName); entry.ExtractToFile(targetPath, true); }
private void InstallNewEntry() { var directoryName = Path.GetDirectoryName(rootPathOfApplication); Directory.CreateDirectory(directoryName); var newFileName = GetFileNameContainingVersion(newVersion); newEntry.ExtractToFile(newFileName, true); }