Lib used: https://github.com/adoconnection/SevenZipExtractor
var file = @"C:\Users\PC\Desktop\SelfExtractFile.exe";
var destination = @"C:\Users\PC\Desktop\";
using ( ArchiveFile archiveFile = new ArchiveFile(file))
{
archiveFile.Extract(destination, true);
}
I get: : 'Object reference not set to an instance of an object.' archive and entries are null.
The library says it supports .exe.
Any idea how to fix this?