Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Extract NSIS no output using SevenShipSharp while 7zip GUI has output #180

Open
geocine opened this issue Jan 20, 2023 · 0 comments
Open

Comments

@geocine
Copy link

geocine commented Jan 20, 2023

Extracting an NSIS installer using 7zip GUI yields to a folder with files inside. However using the SevenZipSharp library, I do get the folder but without any files inside. I don't get any errors.

When I run 7zip info using the 7zip GUI this is what I can gather

Path: [0]
Type: Nsis
Physical Size: 579 246 761
Tail Size: 7
Method: LZMA:23
Solid: -
Headers Size: 16 126
Embedded Stub Size: 0
SubType: NSIS-3

This is how I extract the NSIS installer through code

SevenZipExtractor extractor = new SevenZipExtractor(installerPath,InArchiveFormat.Nsis);
extractor.ExtractArchive(destinationPath);

I also tried

SevenZipExtractor extractor = new SevenZipExtractor(installerPath);
extractor.ExtractArchive(destinationPath);
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant