Updater downloads the zip but crashes when unzipping
Code:
An error occurred during update process. Please report this error on forums.
System.ArgumentException: 1 is not a supported code page.
Parameter name: codepage
at System.Text.Encoding.GetEncoding(Int32 codepage)
at ICSharpCode.SharpZipLib.Zip.ZipFile.ReadEntries()
at ICSharpCode.SharpZipLib.Zip.ZipFile..ctor(Stream stream)
at ICSharpCode.SharpZipLib.Zip.FastZip.ExtractZip(Stream inputStream, String targetDirectory, Overwrite overwrite, ConfirmOverwriteDelegate confirmDelegate, String fileFilter, String directoryFilter, Boolean restoreDateTime, Boolean isStreamOwner)
at ICSharpCode.SharpZipLib.Zip.FastZip.ExtractZip(String zipFileName, String targetDirectory, Overwrite overwrite, ConfirmOverwriteDelegate confirmDelegate, String fileFilter, String directoryFilter, Boolean restoreDateTime)
at WpfUpdater.Updater.Unzip()
at WpfUpdater.MainWindow.Unzip()
at WpfUpdater.MainWindow.DoUpdate()
at WpfUpdater.MainWindow.<.ctor>b__1_2(Object o)