From adbf983e656ac37bdce2d502c899e0e9f02f889b Mon Sep 17 00:00:00 2001 From: Matt Nadareski Date: Sat, 14 Jan 2023 00:42:03 -0800 Subject: [PATCH] Hook up IS-CAB printing --- Test/Extractor.cs | 2 +- Test/Printer.cs | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/Test/Extractor.cs b/Test/Extractor.cs index f5dc3c51..cafb7f4a 100644 --- a/Test/Extractor.cs +++ b/Test/Extractor.cs @@ -352,7 +352,7 @@ namespace Test // If the cab file itself fails try { - InstallShieldCabinet cabfile = InstallShieldCabinet.Open(file); + var cabfile = UnshieldSharp.Cabinet.InstallShieldCabinet.Open(file); for (int i = 0; i < cabfile.FileCount; i++) { // If an individual entry fails diff --git a/Test/Printer.cs b/Test/Printer.cs index 05283f0e..3734482b 100644 --- a/Test/Printer.cs +++ b/Test/Printer.cs @@ -155,19 +155,19 @@ namespace Test // IS-CAB archive case SupportedFileType.InstallShieldCAB: - wrapperName = "IS-CAB archive"; - //wrapper = InstallShieldCAB.Create(stream); + wrapperName = "InstallShield Cabinet"; + wrapper = InstallShieldCabinet.Create(stream); break; // MoPaQ (MPQ) archive case SupportedFileType.MPQ: wrapperName = "MoPaQ archive"; - //wrapper = InstallShieldCAB.Create(stream); + //wrapper = MPQ.Create(stream); break; // MS-CAB archive case SupportedFileType.MicrosoftCAB: - wrapperName = "MS-CAB archive"; + wrapperName = "Microsoft Cabinet"; wrapper = MicrosoftCabinet.Create(stream); break;