mirror of
https://github.com/SabreTools/BinaryObjectScanner.git
synced 2026-04-22 06:03:34 +00:00
Hook up IS-CAB printing
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user