Hook up IS-CAB printing

This commit is contained in:
Matt Nadareski
2023-01-14 00:42:03 -08:00
parent d7639495ac
commit adbf983e65
2 changed files with 5 additions and 5 deletions

View File

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

View File

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