mirror of
https://github.com/adamhathcock/sharpcompress.git
synced 2026-02-03 21:23:38 +00:00
Self extracting exe #41
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @pnewman8 on GitHub (Jul 14, 2015).
From what I can tell, self extracting zip archives are not supported. I just wanted to check it's not something I am doing wrong.
If I try to open one for reading, I get NotSupportedException: Unknown header: 9460301.
Are there any plans to support them?
@sepehr1014 commented on GitHub (Jul 14, 2015):
I had the same problem. So I moved to https://github.com/phillipp/SevenZipSharp
@adamhathcock commented on GitHub (Jul 14, 2015):
Zip exe hasn't been implemented. Just Rar. If you don't need portability then 7zip works.
I personally don't have plans to implement this but it shouldn't be much work as you just look for the exe header and fast forward in the file like Rar probably.
@pnewman8 commented on GitHub (Jul 14, 2015):
Thanks guys.
I plan to use the framework classes in System.IO.Compression, for self extracting zips only, and continue with SharpCompress for other archive types. I am having to call them via reflection, as we still use Visual Studio 2010 (.NET 4.0). Seems to be working so far.
@chandu2004 commented on GitHub (Aug 6, 2019):
Facing the same issue