Skip to content

Commit d0dad6a

Browse files
Fixes .hdr+.cab installshield cabinet files not being extracted when relative paths are provided.
1 parent af43748 commit d0dad6a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

BinaryObjectScanner/FileType/InstallShieldCAB.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,7 @@ public bool Extract(string file, string outDir, bool includeDebug)
2424
/// <inheritdoc/>
2525
public bool Extract(Stream? stream, string file, string outDir, bool includeDebug)
2626
{
27+
file = Path.GetFullPath(file);
2728
// Get the name of the first cabinet file or header
2829
var directory = Path.GetDirectoryName(file);
2930
string noExtension = Path.GetFileNameWithoutExtension(file);

0 commit comments

Comments
 (0)