Re-disable MS-CAB extraction on .NET 6.0

This commit is contained in:
Matt Nadareski
2022-12-28 22:31:46 -08:00
parent 5e027b75b2
commit 555dbd592c
2 changed files with 5 additions and 1 deletions

View File

@@ -35,6 +35,10 @@ namespace BurnOutSharp.FileType
public ConcurrentDictionary<string, ConcurrentQueue<string>> Scan(Scanner scanner, Stream stream, string file)
{
#if NET6_0_OR_GREATER
// TODO: LibMSPackSharp still has issues with certain CAB files
// TODO: Re-enable CAB extraction for .NET 6.0 once LibMSPackSharp is fixed or an alternative is found
return null;
// If the cab file itself fails
try
{

View File

@@ -157,7 +157,7 @@ Below is a list of container formats that are supported in some way:
| InstallShield Archive V3 (Z) | No | Yes | Yes | Via `UnshieldSharp` |
| InstallShield CAB | No | Yes | Yes | Via `UnshieldSharp` |
| Linear Executable | No | No | No | Skeleton only |
| Microsoft cabinet file | Yes | Yes | Yes | Via `WixToolset.Dtf` / `LibMSPackSharp` |
| Microsoft cabinet file | Yes | Yes | Yes | Via `WixToolset.Dtf` / ~~`LibMSPackSharp`~~ (Currently disabled) |
| MoPaQ game data archive (MPQ) | No | Yes | Yes | Via `StormLibSharp` |
| Microsoft installation package (MSI) | No | Yes | Yes | Via `OpenMcdf` |
| MS-DOS Executable | Yes | Yes | No | Incomplete |