private void Extract(string file)
{
try
{
new FastZip().ExtractZip(file, _tempDirectory, null);
}
catch (ZipException)
{
UpdateUI(Path.GetFileName(file) + " seems to be corrupt. Deleting the zip.", true);
UpdateUI("Please confirm that sourceforge is up.", true);
DeleteAbsoluteIfExists(file);
throw new AbortException();
}
catch (Exception ex)
{
ErrorHandler.HandleException(ex);
Application.Exit();
}
}