private void ExtractTheme()
{
this.ExtractedDirectory = this.ArchivePath.Replace(".zip", "");
try
{
ZipFile.ExtractToDirectory(this.ArchivePath, this.ExtractedDirectory);
}
catch (InvalidDataException ex)
{
throw new ThemeInstallException("Could not install theme because the supplied file was not a valid ZIP archive.", ex);
}
}