SevenZipSharp
SevenZipSharp copied to clipboard
ExtractArchive decided wrong format
Hi,
I am using sevenzipsharp and I have a lot of archives that are msi, rar, iso and more formats that ExtractArchive decided it is TAR and because of that failed to extract them. The archives can be extracted via the 7zip gui. So I am sure the archives are OK. Edited : some msi and rar extracted OK via the ExtractArchive but lot of Tham are failing.
TAR is the fallback format if the library is unable to determine the format. It would be interesting to get some of the files you have that are failing, so I can use them to debug the library and see why it isn't able to detect them.
Thanks for the replay. I am attaching two download links from Microsoft and jetbrains. One is msi and the other one is exe. Both of them are not extracting via the sevenzipsharp, but can be extracted via the 7zip gui. If you prefer to get the files in other wat please let me know.
@jetbrains.com/pycharm/download/download-thanks.html?platfrom=windows&code=PCC
@microsoft.com/en-us/download/details.aspx?id=42497
Thanks in advance
TAR is the fallback format if the library is unable to determine the format. It would be interesting to get some of the files you have that are failing, so I can use them to debug the library and see why it isn't able to detect them.
Is there a way to disable the fallback format? I have some proprietary file types that I am trying to extract and I'm having to remove the .tar extension post-extract for all of them.
Hello. Any update about this issue? I'm unable to extract file from a MSI archive.
I have similar issue when extracting Symantec antivirus patterns from EXE archive. The resources are extracted instead of actual files. You can try any executable from the following link. I can extract them correctly with 7z GUI or 7z.exe (I'm on 7Zip 21.07)