Self extracting exe #41

Open
opened 2026-01-29 22:03:51 +00:00 by claunia · 4 comments
Owner

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?

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?
Author
Owner

@sepehr1014 commented on GitHub (Jul 14, 2015):

I had the same problem. So I moved to https://github.com/phillipp/SevenZipSharp

@sepehr1014 commented on GitHub (Jul 14, 2015): I had the same problem. So I moved to https://github.com/phillipp/SevenZipSharp
Author
Owner

@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.

@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.
Author
Owner

@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.

@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.
Author
Owner

@chandu2004 commented on GitHub (Aug 6, 2019):

Facing the same issue

@chandu2004 commented on GitHub (Aug 6, 2019): Facing the same issue
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/sharpcompress#41